Home
last modified time | relevance | path

Searched refs:DirectiveLoc (Results 1 – 17 of 17) sorted by relevance

/external/clang/include/clang/Frontend/
DVerifyDiagnosticConsumer.h149 SourceLocation DirectiveLoc,
158 SourceLocation DirectiveLoc; variable
174 Directive(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in Directive() argument
176 : DirectiveLoc(DirectiveLoc), DiagnosticLoc(DiagnosticLoc), in Directive()
178 assert(!DirectiveLoc.isInvalid() && "DirectiveLoc is invalid!"); in Directive()
/external/llvm-project/clang/include/clang/Frontend/
DVerifyDiagnosticConsumer.h194 create(bool RegexKind, SourceLocation DirectiveLoc,
202 SourceLocation DirectiveLoc; variable
221 Directive(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in Directive() argument
224 : DirectiveLoc(DirectiveLoc), DiagnosticLoc(DiagnosticLoc), Text(Text), in Directive()
227 assert(!DirectiveLoc.isInvalid() && "DirectiveLoc is invalid!"); in Directive()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp274 void checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body,
353 bool parseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
540 bool parseDirectiveReloc(SMLoc DirectiveLoc); // ".reloc"
555 bool parseDirectiveFile(SMLoc DirectiveLoc);
576 bool parseDirectiveCFIRegister(SMLoc DirectiveLoc);
582 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
584 bool parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc);
585 bool parseDirectiveCFIOffset(SMLoc DirectiveLoc);
586 bool parseDirectiveCFIRelOffset(SMLoc DirectiveLoc);
590 bool parseDirectiveCFISameValue(SMLoc DirectiveLoc);
[all …]
/external/llvm-project/llvm/lib/MC/MCParser/
DAsmParser.cpp274 void checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body,
353 bool parseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
540 bool parseDirectiveReloc(SMLoc DirectiveLoc); // ".reloc"
555 bool parseDirectiveFile(SMLoc DirectiveLoc);
576 bool parseDirectiveCFIRegister(SMLoc DirectiveLoc);
582 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
584 bool parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc);
585 bool parseDirectiveCFIOffset(SMLoc DirectiveLoc);
586 bool parseDirectiveCFIRelOffset(SMLoc DirectiveLoc);
590 bool parseDirectiveCFISameValue(SMLoc DirectiveLoc);
[all …]
DMasmParser.cpp635 bool parseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
874 bool parseDirectiveFile(SMLoc DirectiveLoc);
895 bool parseDirectiveCFIRegister(SMLoc DirectiveLoc);
901 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
903 bool parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc);
904 bool parseDirectiveCFIOffset(SMLoc DirectiveLoc);
905 bool parseDirectiveCFIRelOffset(SMLoc DirectiveLoc);
909 bool parseDirectiveCFISameValue(SMLoc DirectiveLoc);
910 bool parseDirectiveCFIRestore(SMLoc DirectiveLoc);
912 bool parseDirectiveCFIReturnColumn(SMLoc DirectiveLoc);
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaModule.cpp404 void Sema::ActOnModuleInclude(SourceLocation DirectiveLoc, Module *Mod) { in ActOnModuleInclude() argument
405 checkModuleImportContext(*this, Mod, DirectiveLoc, CurContext, true); in ActOnModuleInclude()
406 BuildModuleInclude(DirectiveLoc, Mod); in ActOnModuleInclude()
409 void Sema::BuildModuleInclude(SourceLocation DirectiveLoc, Module *Mod) { in BuildModuleInclude() argument
417 getSourceManager().isWrittenInMainFile(DirectiveLoc); in BuildModuleInclude()
426 DirectiveLoc, Mod, in BuildModuleInclude()
427 DirectiveLoc); in BuildModuleInclude()
434 getModuleLoader().makeModuleVisible(Mod, Module::AllVisible, DirectiveLoc); in BuildModuleInclude()
435 VisibleModules.setVisible(Mod, DirectiveLoc); in BuildModuleInclude()
438 void Sema::ActOnModuleBegin(SourceLocation DirectiveLoc, Module *Mod) { in ActOnModuleBegin() argument
[all …]
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp299 void checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body,
382 bool parseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
423 bool parseDirectiveReloc(SMLoc DirectiveLoc); // ".reloc"
436 bool parseDirectiveFile(SMLoc DirectiveLoc);
452 bool parseDirectiveCFIRegister(SMLoc DirectiveLoc);
458 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
460 bool parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc);
461 bool parseDirectiveCFIOffset(SMLoc DirectiveLoc);
462 bool parseDirectiveCFIRelOffset(SMLoc DirectiveLoc);
466 bool parseDirectiveCFISameValue(SMLoc DirectiveLoc);
[all …]
/external/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp163 StandardDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in StandardDirective() argument
166 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max) { } in StandardDirective()
182 RegexDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in RegexDirective() argument
185 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max), in RegexDirective()
657 if (D.DirectiveLoc != D.DiagnosticLoc) in PrintExpected()
659 << SourceMgr.getFilename(D.DirectiveLoc) << ':' in PrintExpected()
660 << SourceMgr.getPresumedLineNumber(D.DirectiveLoc) << ')'; in PrintExpected()
670 static bool IsFromSameFile(SourceManager &SM, SourceLocation DirectiveLoc, in IsFromSameFile() argument
675 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
679 if (!DiagFile && SM.isWrittenInMainFile(DirectiveLoc)) in IsFromSameFile()
[all …]
/external/llvm-project/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp91 StandardDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in StandardDirective() argument
94 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyFileAndLine, in StandardDirective()
110 RegexDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in RegexDirective() argument
113 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyFileAndLine, in RegexDirective()
907 if (D->DirectiveLoc != D->DiagnosticLoc) in PrintExpected()
909 << SourceMgr.getFilename(D->DirectiveLoc) << ':' in PrintExpected()
910 << SourceMgr.getPresumedLineNumber(D->DirectiveLoc) << ')'; in PrintExpected()
920 static bool IsFromSameFile(SourceManager &SM, SourceLocation DirectiveLoc, in IsFromSameFile() argument
925 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
929 if (!DiagFile && SM.isWrittenInMainFile(DirectiveLoc)) in IsFromSameFile()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h36 SMLoc DirectiveLoc) { in HandleDirective() argument
38 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h35 SMLoc DirectiveLoc) { in HandleDirective() argument
37 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
/external/llvm-project/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h35 SMLoc DirectiveLoc) { in HandleDirective() argument
37 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
/external/llvm-project/clang-tools-extra/clang-tidy/
DExpandModularHeadersPPCallbacks.cpp163 SourceLocation DirectiveLoc, const Token &IncludeToken, in InclusionDirective() argument
173 parseToLocation(DirectiveLoc); in InclusionDirective()
DExpandModularHeadersPPCallbacks.h69 void InclusionDirective(SourceLocation DirectiveLoc,
/external/clang/lib/Sema/
DSemaDecl.cpp15103 void Sema::ActOnModuleInclude(SourceLocation DirectiveLoc, Module *Mod) { in ActOnModuleInclude() argument
15104 checkModuleImportContext(*this, Mod, DirectiveLoc, CurContext, true); in ActOnModuleInclude()
15113 getSourceManager().isWrittenInMainFile(DirectiveLoc); in ActOnModuleInclude()
15128 DirectiveLoc, Mod, in ActOnModuleInclude()
15129 DirectiveLoc); in ActOnModuleInclude()
15134 getModuleLoader().makeModuleVisible(Mod, Module::AllVisible, DirectiveLoc); in ActOnModuleInclude()
15135 VisibleModules.setVisible(Mod, DirectiveLoc); in ActOnModuleInclude()
15138 void Sema::ActOnModuleBegin(SourceLocation DirectiveLoc, Module *Mod) { in ActOnModuleBegin() argument
15139 checkModuleImportContext(*this, Mod, DirectiveLoc, CurContext); in ActOnModuleBegin()
15143 VisibleModules.setVisible(Mod, DirectiveLoc); in ActOnModuleBegin()
[all …]
/external/llvm-project/clang/include/clang/Sema/
DSema.h2760 void ActOnModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
2761 void BuildModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
2764 void ActOnModuleBegin(SourceLocation DirectiveLoc, Module *Mod);
2766 void ActOnModuleEnd(SourceLocation DirectiveLoc, Module *Mod);
/external/clang/include/clang/Sema/
DSema.h1861 void ActOnModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
1864 void ActOnModuleBegin(SourceLocation DirectiveLoc, Module *Mod);
1866 void ActOnModuleEnd(SourceLocation DirectiveLoc, Module *Mod);