clang 20.0.0git
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]

Public Member Functions

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

Detailed Description

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

Definition at line 84 of file Pragma.h.

Constructor & Destructor Documentation

◆ EmptyPragmaHandler()

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

Definition at line 65 of file Pragma.cpp.

Member Function Documentation

◆ HandlePragma()

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

Implements clang::PragmaHandler.

Definition at line 67 of file Pragma.cpp.


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