Searched refs:PragmaHandler (Results 1 – 9 of 9) sorted by relevance
59 class PragmaHandler {62 explicit PragmaHandler(StringRef name) : Name(name) {} in PragmaHandler() function63 PragmaHandler() {} in PragmaHandler() function64 virtual ~PragmaHandler();77 class EmptyPragmaHandler : public PragmaHandler {89 class PragmaNamespace : public PragmaHandler {93 llvm::StringMap<PragmaHandler*> Handlers;95 explicit PragmaNamespace(StringRef Name) : PragmaHandler(Name) {} in PragmaNamespace()102 PragmaHandler *FindHandler(StringRef Name,107 void AddPragma(PragmaHandler *Handler);[all …]
51 class PragmaHandler; variable942 void AddPragmaHandler(StringRef Namespace, PragmaHandler *Handler);943 void AddPragmaHandler(PragmaHandler *Handler) { in AddPragmaHandler()952 void RemovePragmaHandler(StringRef Namespace, PragmaHandler *Handler);953 void RemovePragmaHandler(PragmaHandler *Handler) { in RemovePragmaHandler()1955 typedef llvm::Registry<PragmaHandler> PragmaHandlerRegistry;1959 extern template class llvm::Registry<clang::PragmaHandler>;
34 PragmaHandler::~PragmaHandler() { in ~PragmaHandler()41 EmptyPragmaHandler::EmptyPragmaHandler(StringRef Name) : PragmaHandler(Name) {} in EmptyPragmaHandler()59 PragmaHandler *PragmaNamespace::FindHandler(StringRef Name, in FindHandler()61 if (PragmaHandler *Handler = Handlers.lookup(Name)) in FindHandler()66 void PragmaNamespace::AddPragma(PragmaHandler *Handler) { in AddPragma()72 void PragmaNamespace::RemovePragmaHandler(PragmaHandler *Handler) { in RemovePragmaHandler()86 PragmaHandler *Handler in HandlePragma()730 PragmaHandler *Handler) { in AddPragmaHandler()738 if (PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace)) { in AddPragmaHandler()761 PragmaHandler *Handler) { in RemovePragmaHandler()[all …]
57 template class llvm::Registry<clang::PragmaHandler>;
28 struct PragmaAlignHandler : public PragmaHandler {29 explicit PragmaAlignHandler() : PragmaHandler("align") {} in PragmaAlignHandler()34 struct PragmaGCCVisibilityHandler : public PragmaHandler {35 explicit PragmaGCCVisibilityHandler() : PragmaHandler("visibility") {} in PragmaGCCVisibilityHandler()40 struct PragmaOptionsHandler : public PragmaHandler {41 explicit PragmaOptionsHandler() : PragmaHandler("options") {} in PragmaOptionsHandler()46 struct PragmaPackHandler : public PragmaHandler {47 explicit PragmaPackHandler() : PragmaHandler("pack") {} in PragmaPackHandler()52 struct PragmaMSStructHandler : public PragmaHandler {53 explicit PragmaMSStructHandler() : PragmaHandler("ms_struct") {} in PragmaMSStructHandler()[all …]
33 class PragmaHandler; variable151 std::unique_ptr<PragmaHandler> AlignHandler;152 std::unique_ptr<PragmaHandler> GCCVisibilityHandler;153 std::unique_ptr<PragmaHandler> OptionsHandler;154 std::unique_ptr<PragmaHandler> PackHandler;155 std::unique_ptr<PragmaHandler> MSStructHandler;156 std::unique_ptr<PragmaHandler> UnusedHandler;157 std::unique_ptr<PragmaHandler> WeakHandler;158 std::unique_ptr<PragmaHandler> RedefineExtnameHandler;159 std::unique_ptr<PragmaHandler> FPContractHandler;[all …]
58 class PragmaAnnotateHandler : public PragmaHandler {60 PragmaAnnotateHandler() : PragmaHandler("enable_annotate") { } in PragmaAnnotateHandler()
49 Plugins can also define pragmas by declaring a ``PragmaHandler`` and55 class ExamplePragmaHandler : public PragmaHandler {57 ExamplePragmaHandler() : PragmaHandler("example_pragma") { }
573 struct UnknownPragmaHandler : public PragmaHandler {