Home
last modified time | relevance | path

Searched refs:PragmaNamespace (Results 1 – 4 of 4) sorted by relevance

/external/clang/include/clang/Lex/
DPragma.h26 class PragmaNamespace; variable
72 virtual PragmaNamespace *getIfNamespace() { return nullptr; } in getIfNamespace()
89 class PragmaNamespace : public PragmaHandler {
95 explicit PragmaNamespace(StringRef Name) : PragmaHandler(Name) {} in PragmaNamespace() function
96 ~PragmaNamespace() override;
120 PragmaNamespace *getIfNamespace() override { return this; } in getIfNamespace()
DPreprocessor.h50 class PragmaNamespace; variable
207 std::unique_ptr<PragmaNamespace> PragmaHandlers;
211 std::unique_ptr<PragmaNamespace> PragmaHandlersBackup;
/external/clang/lib/Lex/
DPragma.cpp51 PragmaNamespace::~PragmaNamespace() { in ~PragmaNamespace()
59 PragmaHandler *PragmaNamespace::FindHandler(StringRef Name, in FindHandler()
66 void PragmaNamespace::AddPragma(PragmaHandler *Handler) { in AddPragma()
72 void PragmaNamespace::RemovePragmaHandler(PragmaHandler *Handler) { in RemovePragmaHandler()
78 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma()
731 PragmaNamespace *InsertNS = PragmaHandlers.get(); in AddPragmaHandler()
745 InsertNS = new PragmaNamespace(Namespace); in AddPragmaHandler()
762 PragmaNamespace *NS = PragmaHandlers.get(); in RemovePragmaHandler()
1514 PragmaNamespace *STDCNamespace = NS->getIfNamespace(); in IgnorePragmas()
DPreprocessor.cpp73 PragmaHandlers(new PragmaNamespace(StringRef())), in Preprocessor()
196 PragmaHandlers = llvm::make_unique<PragmaNamespace>(StringRef()); in InitializeForModelFile()