Home
last modified time | relevance | path

Searched refs:PragmaHandler (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Parse/
DParsePragma.h23 class PragmaAlignHandler : public PragmaHandler {
26 explicit PragmaAlignHandler(Sema &A) : PragmaHandler("align"), Actions(A) {} in PragmaAlignHandler()
32 class PragmaGCCVisibilityHandler : public PragmaHandler {
35 explicit PragmaGCCVisibilityHandler(Sema &A) : PragmaHandler("visibility"), in PragmaGCCVisibilityHandler()
42 class PragmaOptionsHandler : public PragmaHandler {
45 explicit PragmaOptionsHandler(Sema &A) : PragmaHandler("options"), in PragmaOptionsHandler()
52 class PragmaPackHandler : public PragmaHandler {
55 explicit PragmaPackHandler(Sema &A) : PragmaHandler("pack"), in PragmaPackHandler()
62 class PragmaMSStructHandler : public PragmaHandler {
65 explicit PragmaMSStructHandler(Sema &A) : PragmaHandler("ms_struct"), in PragmaMSStructHandler()
[all …]
/external/clang/include/clang/Lex/
DPragma.h59 class PragmaHandler {
62 explicit PragmaHandler(StringRef name) : Name(name) {} in PragmaHandler() function
63 PragmaHandler() {} in PragmaHandler() function
64 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 …]
DPreprocessor.h48 class PragmaHandler; variable
476 void AddPragmaHandler(StringRef Namespace, PragmaHandler *Handler);
477 void AddPragmaHandler(PragmaHandler *Handler) { in AddPragmaHandler()
485 void RemovePragmaHandler(StringRef Namespace, PragmaHandler *Handler);
486 void RemovePragmaHandler(PragmaHandler *Handler) { in RemovePragmaHandler()
/external/clang/lib/Lex/
DPragma.cpp29 PragmaHandler::~PragmaHandler() { in ~PragmaHandler()
48 for (llvm::StringMap<PragmaHandler*>::iterator in ~PragmaNamespace()
57 PragmaHandler *PragmaNamespace::FindHandler(StringRef Name, in FindHandler()
59 if (PragmaHandler *Handler = Handlers.lookup(Name)) in FindHandler()
64 void PragmaNamespace::AddPragma(PragmaHandler *Handler) { in AddPragma()
67 llvm::StringMapEntry<PragmaHandler *> &Entry = in AddPragma()
72 void PragmaNamespace::RemovePragmaHandler(PragmaHandler *Handler) { in RemovePragmaHandler()
86 PragmaHandler *Handler in HandlePragma()
853 PragmaHandler *Handler) { in AddPragmaHandler()
861 if (PragmaHandler *Existing = PragmaHandlers->FindHandler(Namespace)) { in AddPragmaHandler()
[all …]
/external/clang/include/clang/Parse/
DParser.h29 class PragmaHandler; variable
158 OwningPtr<PragmaHandler> AlignHandler;
159 OwningPtr<PragmaHandler> GCCVisibilityHandler;
160 OwningPtr<PragmaHandler> OptionsHandler;
161 OwningPtr<PragmaHandler> PackHandler;
162 OwningPtr<PragmaHandler> MSStructHandler;
163 OwningPtr<PragmaHandler> UnusedHandler;
164 OwningPtr<PragmaHandler> WeakHandler;
165 OwningPtr<PragmaHandler> RedefineExtnameHandler;
166 OwningPtr<PragmaHandler> FPContractHandler;
[all …]
/external/clang/lib/Frontend/
DPrintPreprocessedOutput.cpp464 struct UnknownPragmaHandler : public PragmaHandler {