Home
last modified time | relevance | path

Searched refs:ExternCLoc (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaModule.cpp25 SourceLocation ExternCLoc; in checkModuleImportContext() local
30 if (ExternCLoc.isInvalid()) in checkModuleImportContext()
31 ExternCLoc = LSD->getBeginLoc(); in checkModuleImportContext()
50 } else if (!M->IsExternC && ExternCLoc.isValid()) { in checkModuleImportContext()
53 S.Diag(ExternCLoc, diag::note_extern_c_begins_here); in checkModuleImportContext()
/external/clang/lib/Sema/
DSemaDecl.cpp15026 SourceLocation ExternCLoc; in checkModuleImportContext() local
15031 if (ExternCLoc.isInvalid()) in checkModuleImportContext()
15032 ExternCLoc = LSD->getLocStart(); in checkModuleImportContext()
15050 } else if (!M->IsExternC && ExternCLoc.isValid()) { in checkModuleImportContext()
15053 S.Diag(ExternCLoc, diag::note_module_import_in_extern_c); in checkModuleImportContext()