Searched refs:PragmaHandler (Results 1 – 6 of 6) 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 …]
50 class PragmaHandler; variable935 void AddPragmaHandler(StringRef Namespace, PragmaHandler *Handler);936 void AddPragmaHandler(PragmaHandler *Handler) { in AddPragmaHandler()945 void RemovePragmaHandler(StringRef Namespace, PragmaHandler *Handler);946 void RemovePragmaHandler(PragmaHandler *Handler) { in RemovePragmaHandler()
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 …]
27 struct PragmaAlignHandler : public PragmaHandler {28 explicit PragmaAlignHandler() : PragmaHandler("align") {} in PragmaAlignHandler()33 struct PragmaGCCVisibilityHandler : public PragmaHandler {34 explicit PragmaGCCVisibilityHandler() : PragmaHandler("visibility") {} in PragmaGCCVisibilityHandler()39 struct PragmaOptionsHandler : public PragmaHandler {40 explicit PragmaOptionsHandler() : PragmaHandler("options") {} in PragmaOptionsHandler()45 struct PragmaPackHandler : public PragmaHandler {46 explicit PragmaPackHandler() : PragmaHandler("pack") {} in PragmaPackHandler()51 struct PragmaMSStructHandler : public PragmaHandler {52 explicit PragmaMSStructHandler() : PragmaHandler("ms_struct") {} in PragmaMSStructHandler()[all …]
33 class PragmaHandler; variable145 std::unique_ptr<PragmaHandler> AlignHandler;146 std::unique_ptr<PragmaHandler> GCCVisibilityHandler;147 std::unique_ptr<PragmaHandler> OptionsHandler;148 std::unique_ptr<PragmaHandler> PackHandler;149 std::unique_ptr<PragmaHandler> MSStructHandler;150 std::unique_ptr<PragmaHandler> UnusedHandler;151 std::unique_ptr<PragmaHandler> WeakHandler;152 std::unique_ptr<PragmaHandler> RedefineExtnameHandler;153 std::unique_ptr<PragmaHandler> FPContractHandler;[all …]
561 struct UnknownPragmaHandler : public PragmaHandler {