Searched refs:PragmaNamespace (Results 1 – 4 of 4) sorted by relevance
26 class PragmaNamespace; variable72 virtual PragmaNamespace *getIfNamespace() { return nullptr; } in getIfNamespace()89 class PragmaNamespace : public PragmaHandler {95 explicit PragmaNamespace(StringRef Name) : PragmaHandler(Name) {} in PragmaNamespace() function96 ~PragmaNamespace() override;120 PragmaNamespace *getIfNamespace() override { return this; } in getIfNamespace()
49 class PragmaNamespace; variable206 std::unique_ptr<PragmaNamespace> PragmaHandlers;210 std::unique_ptr<PragmaNamespace> PragmaHandlersBackup;
51 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()1481 PragmaNamespace *STDCNamespace = NS->getIfNamespace(); in IgnorePragmas()
70 PragmaHandlers(new PragmaNamespace(StringRef())), in Preprocessor()193 PragmaHandlers = llvm::make_unique<PragmaNamespace>(StringRef()); in InitializeForModelFile()