Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenACC.h35 SourceLocation DirectiveLoc; variable
44 SourceLocation Start, SourceLocation DirectiveLoc, in OpenACCConstructStmt() argument
46 : Stmt(SC), Kind(K), Range(Start, End), DirectiveLoc(DirectiveLoc) {} in OpenACCConstructStmt()
65 SourceLocation getDirectiveLoc() const { return DirectiveLoc; } in getDirectiveLoc()
89 SourceLocation DirectiveLoc, in OpenACCAssociatedStmtConstruct() argument
91 : OpenACCConstructStmt(SC, K, Start, DirectiveLoc, End), in OpenACCAssociatedStmtConstruct()
152 SourceLocation DirectiveLoc, SourceLocation End, in OpenACCComputeConstruct() argument
156 DirectiveLoc, End, StructuredBlock) { in OpenACCComputeConstruct()
185 SourceLocation DirectiveLoc, SourceLocation EndLoc,
/src/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp296 void checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body,
375 bool parseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
569 bool parseDirectiveReloc(SMLoc DirectiveLoc); // ".reloc"
584 bool parseDirectiveFile(SMLoc DirectiveLoc);
605 bool parseDirectiveCFIRegister(SMLoc DirectiveLoc);
606 bool parseDirectiveCFIWindowSave(SMLoc DirectiveLoc);
610 bool parseDirectiveCFIDefCfaOffset(SMLoc DirectiveLoc);
611 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
612 bool parseDirectiveCFIAdjustCfaOffset(SMLoc DirectiveLoc);
613 bool parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc);
[all …]
H A DMasmParser.cpp669 bool parseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
943 bool parseDirectiveFile(SMLoc DirectiveLoc);
964 bool parseDirectiveCFIRegister(SMLoc DirectiveLoc);
965 bool parseDirectiveCFIWindowSave(SMLoc DirectiveLoc);
969 bool parseDirectiveCFIDefCfaOffset(SMLoc DirectiveLoc);
970 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
971 bool parseDirectiveCFIAdjustCfaOffset(SMLoc DirectiveLoc);
972 bool parseDirectiveCFIDefCfaRegister(SMLoc DirectiveLoc);
973 bool parseDirectiveCFIOffset(SMLoc DirectiveLoc);
974 bool parseDirectiveCFIRelOffset(SMLoc DirectiveLoc);
[all …]
/src/contrib/llvm-project/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h46 create(bool RegexKind, SourceLocation DirectiveLoc,
54 SourceLocation DirectiveLoc; variable
73 Directive(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in Directive() argument
76 : DirectiveLoc(DirectiveLoc), DiagnosticLoc(DiagnosticLoc), Text(Text), in Directive()
79 assert(!DirectiveLoc.isInvalid() && "DirectiveLoc is invalid!"); in Directive()
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp722 void Sema::ActOnAnnotModuleInclude(SourceLocation DirectiveLoc, Module *Mod) { in ActOnAnnotModuleInclude() argument
723 checkModuleImportContext(*this, Mod, DirectiveLoc, CurContext, true); in ActOnAnnotModuleInclude()
724 BuildModuleInclude(DirectiveLoc, Mod); in ActOnAnnotModuleInclude()
727 void Sema::BuildModuleInclude(SourceLocation DirectiveLoc, Module *Mod) { in BuildModuleInclude() argument
735 getSourceManager().isWrittenInMainFile(DirectiveLoc); in BuildModuleInclude()
742 DirectiveLoc, Mod, in BuildModuleInclude()
743 DirectiveLoc); in BuildModuleInclude()
750 getModuleLoader().makeModuleVisible(Mod, Module::AllVisible, DirectiveLoc); in BuildModuleInclude()
751 VisibleModules.setVisible(Mod, DirectiveLoc); in BuildModuleInclude()
755 getLangOpts().CurrentModule, DirectiveLoc, false, false); in BuildModuleInclude()
[all …]
H A DSemaOpenACC.cpp1671 StmtResult SemaOpenACC::ActOnAssociatedStmt(SourceLocation DirectiveLoc, in ActOnAssociatedStmt() argument
1694 Diag(DirectiveLoc, diag::note_acc_construct_here) << K; in ActOnAssociatedStmt()
/src/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp91 StandardDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in StandardDirective() argument
94 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyFileAndLine, in StandardDirective()
108 RegexDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in RegexDirective() argument
111 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyFileAndLine, in RegexDirective()
916 if (D->DirectiveLoc != D->DiagnosticLoc) in PrintExpected()
918 << SourceMgr.getFilename(D->DirectiveLoc) << ':' in PrintExpected()
919 << SourceMgr.getPresumedLineNumber(D->DirectiveLoc) << ')'; in PrintExpected()
931 static bool IsFromSameFile(SourceManager &SM, SourceLocation DirectiveLoc, in IsFromSameFile() argument
936 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
940 if (!DiagFile && SM.isWrittenInMainFile(DirectiveLoc)) in IsFromSameFile()
[all …]
/src/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h34 SMLoc DirectiveLoc) { in HandleDirective() argument
36 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
/src/contrib/llvm-project/clang/lib/Lex/
H A DDependencyDirectivesScanner.cpp497 const char *DirectiveLoc = Input.data() + CurDirToks.front().Offset; in lexModuleDirectiveBody() local
502 DirectiveLoc, in lexModuleDirectiveBody()
513 DirectiveLoc, diag::err_dep_source_scanner_unexpected_tokens_at_import); in lexModuleDirectiveBody()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h407 StmtResult ActOnAssociatedStmt(SourceLocation DirectiveLoc,
H A DSema.h9674 void ActOnAnnotModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
9675 void BuildModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
9678 void ActOnAnnotModuleBegin(SourceLocation DirectiveLoc, Module *Mod);
9680 void ActOnAnnotModuleEnd(SourceLocation DirectiveLoc, Module *Mod);
/src/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp2885 Record.AddSourceLocation(S->DirectiveLoc); in VisitOpenACCConstructStmt()
H A DASTReaderStmt.cpp2815 S->DirectiveLoc = Record.readSourceLocation(); in VisitOpenACCConstructStmt()