/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | MacroInfo.h | 290 class MacroDirective { 300 MacroDirective *Previous = nullptr; 316 MacroDirective(Kind K, SourceLocation Loc) in MacroDirective() function 325 void setPrevious(MacroDirective *Prev) { Previous = Prev; } in setPrevious() 328 const MacroDirective *getPrevious() const { return Previous; } in getPrevious() 331 MacroDirective *getPrevious() { return Previous; } in getPrevious() 381 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition() 402 static bool classof(const MacroDirective *) { return true; } in classof() argument 406 class DefMacroDirective : public MacroDirective { 411 : MacroDirective(MD_Define, Loc), Info(MI) { in DefMacroDirective() [all …]
|
H A D | Preprocessor.h | 577 MacroDirective *MD; 592 ModuleMacroInfo(MacroDirective *MD) : MD(MD) {} in ModuleMacroInfo() 597 mutable llvm::PointerUnion<MacroDirective *, ModuleMacroInfo *> State; 614 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo() 626 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 629 O.State = (MacroDirective *)nullptr; in MacroState() 634 O.State = (MacroDirective *)nullptr; 644 MacroDirective *getLatest() const { in getLatest() 647 return State.get<MacroDirective*>(); in getLatest() 650 void setLatest(MacroDirective *MD) { in setLatest() [all …]
|
H A D | PPCallbacks.h | 28 class MacroDirective; variable 287 const MacroDirective *MD) { in MacroDefined() 298 const MacroDirective *Undef) { in MacroUndefined() 545 const MacroDirective *MD) override { in MacroDefined() 552 const MacroDirective *Undef) override { in MacroUndefined()
|
H A D | PreprocessingRecord.h | 528 void MacroDefined(const Token &Id, const MacroDirective *MD) override; 530 const MacroDirective *Undef) override;
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | MacroInfo.cpp | 178 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() 179 MacroDirective *MD = this; in getDefinition() 201 const MacroDirective::DefInfo 202 MacroDirective::findDirectiveAtLoc(SourceLocation L, in findDirectiveAtLoc() 215 LLVM_DUMP_METHOD void MacroDirective::dump() const { in dump()
|
H A D | PreprocessingRecord.cpp | 445 const MacroDirective *MD) { in MacroDefined() 456 const MacroDirective *Undef) { in MacroUndefined()
|
H A D | PPMacroExpansion.cpp | 62 MacroDirective * 71 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective() 97 MacroDirective *ED, in setLoadedMacroDirective() 98 MacroDirective *MD) { in setLoadedMacroDirective()
|
H A D | PPLexerChange.cpp | 764 MacroDirective *OldMD = nullptr; in LeaveSubmodule()
|
H A D | PPDirectives.cpp | 1475 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPublicDirective() 1502 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPrivateDirective()
|
H A D | Preprocessor.cpp | 358 const MacroDirective::DefInfo in getLastMacroWithSpelling()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/ |
H A D | IndexingAction.cpp | 40 const MacroDirective *MD) override { in MacroDefined() 47 const MacroDirective *Undef) override { in MacroUndefined() 193 MacroDirective::Kind DirectiveKind, in indexPreprocessorMacro() 204 if (DirectiveKind == MacroDirective::MD_Visibility) in indexPreprocessorMacro() 207 auto Role = DirectiveKind == MacroDirective::MD_Define in indexPreprocessorMacro() 232 indexPreprocessorMacro(M.first, MI, MacroDirective::MD_Define, in indexPreprocessorModuleMacros()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | MacroPPCallbacks.h | 111 const MacroDirective *MD) override; 117 const MacroDirective *Undef) override;
|
H A D | MacroPPCallbacks.cpp | 179 const MacroDirective *MD) { in MacroDefined() 193 const MacroDirective *Undef) { in MacroUndefined()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | PrintPreprocessedOutput.cpp | 175 const MacroDirective *MD) override; 180 const MacroDirective *Undef) override; 410 const MacroDirective *MD) { in MacroDefined() 424 const MacroDirective *Undef) { in MacroUndefined()
|
H A D | ASTUnit.cpp | 885 const MacroDirective *MD) override { in MacroDefined()
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | Indexing.cpp | 275 void MacroDefined(const Token &Id, const MacroDirective *MD) override {} in MacroDefined() 281 const MacroDirective *UD) override {} in MacroUndefined()
|
H A D | CIndex.cpp | 9010 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(&II); in getMacroInfo() 9012 for (MacroDirective::DefInfo Def = MD->getDefinition(); Def; in getMacroInfo() 9067 MacroDirective *InnerMD = PP.getLocalMacroDirectiveHistory(&II); in checkForMacroInMacroDefinition()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 2189 MacroDirective *Latest = nullptr, *Earliest = nullptr; in resolvePendingMacro() 2192 MacroDirective *MD = nullptr; in resolvePendingMacro() 2194 MacroDirective::Kind K = (MacroDirective::Kind)Record[Idx++]; in resolvePendingMacro() 2196 case MacroDirective::MD_Define: { in resolvePendingMacro() 2201 case MacroDirective::MD_Undefine: in resolvePendingMacro() 2204 case MacroDirective::MD_Visibility: in resolvePendingMacro()
|
H A D | ASTWriter.cpp | 2129 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro() 2213 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(Name); in WritePreprocessor()
|