| /openbsd-src/gnu/llvm/clang/include/clang/Lex/ |
| H A D | MacroInfo.h | 313 class MacroDirective { 323 MacroDirective *Previous = nullptr; 339 MacroDirective(Kind K, SourceLocation Loc) in MacroDirective() function 348 void setPrevious(MacroDirective *Prev) { Previous = Prev; } in setPrevious() 351 const MacroDirective *getPrevious() const { return Previous; } in getPrevious() 354 MacroDirective *getPrevious() { return Previous; } in getPrevious() 404 return const_cast<MacroDirective *>(this)->getDefinition(); in getDefinition() 425 static bool classof(const MacroDirective *) { return true; } in classof() argument 429 class DefMacroDirective : public MacroDirective { 434 : MacroDirective(MD_Define, Loc), Info(MI) { in DefMacroDirective() [all …]
|
| H A D | Preprocessor.h | 806 MacroDirective *MD; 821 ModuleMacroInfo(MacroDirective *MD) : MD(MD) {} in ModuleMacroInfo() 826 mutable llvm::PointerUnion<MacroDirective *, ModuleMacroInfo *> State; 843 ModuleMacroInfo(State.get<MacroDirective *>()); in getModuleInfo() 855 MacroState(MacroDirective *MD) : State(MD) {} in MacroState() 858 O.State = (MacroDirective *)nullptr; in MacroState() 863 O.State = (MacroDirective *)nullptr; 873 MacroDirective *getLatest() const { in getLatest() 876 return State.get<MacroDirective*>(); in getLatest() 879 void setLatest(MacroDirective *MD) { in setLatest() [all …]
|
| H A D | PPCallbacks.h | 28 class MacroDirective; variable 313 const MacroDirective *MD) { in MacroDefined() 324 const MacroDirective *Undef) { in MacroUndefined() 617 const MacroDirective *MD) override { in MacroDefined() 624 const MacroDirective *Undef) override { in MacroUndefined()
|
| H A D | PreprocessingRecord.h | 525 void MacroDefined(const Token &Id, const MacroDirective *MD) override; 527 const MacroDirective *Undef) override;
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | MacroInfo.cpp | 198 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition() 199 MacroDirective *MD = this; in getDefinition() 219 const MacroDirective::DefInfo 220 MacroDirective::findDirectiveAtLoc(SourceLocation L, in findDirectiveAtLoc() 233 LLVM_DUMP_METHOD void MacroDirective::dump() const { in dump()
|
| H A D | PreprocessingRecord.cpp | 462 const MacroDirective *MD) { in MacroDefined() 473 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 | 803 MacroDirective *OldMD = nullptr; in LeaveSubmodule()
|
| H A D | Preprocessor.cpp | 359 const MacroDirective::DefInfo in getLastMacroWithSpelling()
|
| H A D | PPDirectives.cpp | 1687 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPublicDirective() 1714 MacroDirective *MD = getLocalMacroDirective(II); in HandleMacroPrivateDirective()
|
| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 40 const MacroDirective *MD) override { in MacroDefined() 47 const MacroDirective *Undef) override { in MacroUndefined() 212 MacroDirective::Kind DirectiveKind, in indexPreprocessorMacro() 223 if (DirectiveKind == MacroDirective::MD_Visibility) in indexPreprocessorMacro() 226 auto Role = DirectiveKind == MacroDirective::MD_Define in indexPreprocessorMacro() 251 indexPreprocessorMacro(M.first, MI, MacroDirective::MD_Define, in indexPreprocessorModuleMacros()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | MacroPPCallbacks.h | 110 const MacroDirective *MD) override; 116 const MacroDirective *Undef) override;
|
| H A D | MacroPPCallbacks.cpp | 179 const MacroDirective *MD) { in MacroDefined() 193 const MacroDirective *Undef) { in MacroUndefined()
|
| /openbsd-src/gnu/llvm/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 245 const MacroDirective *MD) override { in MacroDefined() 263 const MacroDirective *Undef) override { in MacroUndefined() 303 const MacroDirective *MD; 305 PendingMacro(const Token &MacroNameToken, const MacroDirective *MD) in PendingMacro()
|
| H A D | DeclarationFragments.cpp | 501 const MacroDirective *MD) { in getFragmentsForMacro()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | PrintPreprocessedOutput.cpp | 219 const MacroDirective *MD) override; 224 const MacroDirective *Undef) override; 464 const MacroDirective *MD) { in MacroDefined() 487 const MacroDirective *Undef) { in MacroUndefined()
|
| H A D | ASTUnit.cpp | 913 const MacroDirective *MD) override { in MacroDefined()
|
| /openbsd-src/gnu/llvm/clang/include/clang/ExtractAPI/ |
| H A D | DeclarationFragments.h | 242 const MacroDirective *MD);
|
| /openbsd-src/gnu/llvm/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 | 9337 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(&II); in getMacroInfo() 9339 for (MacroDirective::DefInfo Def = MD->getDefinition(); Def; in getMacroInfo() 9394 MacroDirective *InnerMD = PP.getLocalMacroDirectiveHistory(&II); in checkForMacroInMacroDefinition()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 2213 MacroDirective *Latest = nullptr, *Earliest = nullptr; in resolvePendingMacro() 2216 MacroDirective *MD = nullptr; in resolvePendingMacro() 2218 MacroDirective::Kind K = (MacroDirective::Kind)Record[Idx++]; in resolvePendingMacro() 2220 case MacroDirective::MD_Define: { in resolvePendingMacro() 2225 case MacroDirective::MD_Undefine: in resolvePendingMacro() 2228 case MacroDirective::MD_Visibility: in resolvePendingMacro()
|
| H A D | ASTWriter.cpp | 2246 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro() 2367 MacroDirective *MD = PP.getLocalMacroDirectiveHistory(Name); in WritePreprocessor() 2385 MD->getKind() == MacroDirective::MD_Undefine) in WritePreprocessor()
|