clang  6.0.0svn
Public Member Functions | List of all members
clang::EmptyPragmaHandler Class Reference

EmptyPragmaHandler - A pragma handler which takes no action, which can be used to ignore particular pragmas. More...

#include "clang/Lex/Pragma.h"

Inheritance diagram for clang::EmptyPragmaHandler:
Inheritance graph
[legend]
Collaboration diagram for clang::EmptyPragmaHandler:
Collaboration graph
[legend]

Public Member Functions

 EmptyPragmaHandler (StringRef Name=StringRef())
 
void HandlePragma (Preprocessor &PP, PragmaIntroducerKind Introducer, Token &FirstToken) override
 
- Public Member Functions inherited from clang::PragmaHandler
 PragmaHandler (StringRef name)
 
 PragmaHandler ()
 
virtual ~PragmaHandler ()
 
StringRef getName () const
 
virtual PragmaNamespacegetIfNamespace ()
 getIfNamespace - If this is a namespace, return it. More...
 

Detailed Description

EmptyPragmaHandler - A pragma handler which takes no action, which can be used to ignore particular pragmas.

Definition at line 77 of file Pragma.h.

Constructor & Destructor Documentation

◆ EmptyPragmaHandler()

EmptyPragmaHandler::EmptyPragmaHandler ( StringRef  Name = StringRef())
explicit

Definition at line 57 of file Pragma.cpp.

Referenced by clang::Preprocessor::IgnorePragmas().

Member Function Documentation

◆ HandlePragma()

void EmptyPragmaHandler::HandlePragma ( Preprocessor PP,
PragmaIntroducerKind  Introducer,
Token FirstToken 
)
overridevirtual

Implements clang::PragmaHandler.

Definition at line 59 of file Pragma.cpp.

Referenced by clang::Preprocessor::LexOnOffSwitch().


The documentation for this class was generated from the following files: