Home
last modified time | relevance | path

Searched refs:IsSystem (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/Index/
H A DFileIndexRecord.h29 bool IsSystem; variable
34 FileIndexRecord(FileID FID, bool IsSystem) : FID(FID), IsSystem(IsSystem) {} in FileIndexRecord() argument
39 bool isSystem() const { return IsSystem; } in isSystem()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DDependencyFile.cpp101 bool IsSystem) override { in moduleMapFileRead()
104 /*IsSystem*/IsSystem, in moduleMapFileRead()
123 bool visitInputFile(StringRef Filename, bool IsSystem, in visitInputFile()
128 DepCollector.maybeAddDependency(Filename, /*FromModule*/true, IsSystem, in visitInputFile()
136 bool FromModule, bool IsSystem, in maybeAddDependency() argument
139 if (sawDependency(Filename, FromModule, IsSystem, IsModuleFile, IsMissing)) in maybeAddDependency()
170 bool IsSystem, bool IsModuleFile, in sawDependency() argument
173 (needSystemDependencies() || !IsSystem); in sawDependency()
209 bool IsSystem, bool IsModuleFile, in sawDependency() argument
227 return !IsSystem; in sawDependency()
H A DModuleDependencyCollector.cpp34 bool visitInputFile(StringRef Filename, bool IsSystem, bool IsOverridden, in visitInputFile() argument
H A DFrontendAction.cpp436 static bool loadModuleMapForModuleBuild(CompilerInstance &CI, bool IsSystem, in loadModuleMapForModuleBuild() argument
458 if (HS.loadModuleMapFile(ModuleMap, IsSystem, ModuleMapID, &Offset, in loadModuleMapForModuleBuild()
471 (void)HS.getModuleMap().inferFrameworkModule(*Dir, IsSystem, nullptr); in loadModuleMapForModuleBuild()
887 auto Kind = CurrentModule->IsSystem ? SrcMgr::C_System : SrcMgr::C_User; in BeginSourceFile()
H A DCompilerInstance.cpp1309 FrontendInputFile(ModuleMapFile->getName(), IK, +Module->IsSystem), in compileModule()
1327 FrontendInputFile(FakeModuleMapFile, IK, +Module->IsSystem), in compileModule()
H A DCompilerInvocation.cpp2929 bool IsSystem = false; in ParseFrontendArgs() local
2935 IsSystem = Opts.IsSystemModule; in ParseFrontendArgs()
2938 Opts.Inputs.emplace_back(std::move(Inputs[i]), IK, IsSystem); in ParseFrontendArgs()
/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DFrontendOptions.h234 bool IsSystem = false; variable
238 FrontendInputFile(StringRef File, InputKind Kind, bool IsSystem = false)
239 : File(File.str()), Kind(Kind), IsSystem(IsSystem) {}
241 bool IsSystem = false)
242 : Buffer(Buffer), Kind(Kind), IsSystem(IsSystem) {} in Buffer()
245 bool isSystem() const { return IsSystem; } in isSystem()
H A DUtils.h74 bool IsSystem, bool IsModuleFile, bool IsMissing);
85 bool IsSystem, bool IsModuleFile,
112 bool sawDependency(StringRef Filename, bool FromModule, bool IsSystem,
/llvm-project-15.0.7/clang/lib/Lex/
H A DHeaderSearch.cpp337 bool IsSystem = Dir.isSystemHeaderDirectory(); in lookupModule() local
341 if (loadModuleMapFile(NormalDir, IsSystem, in lookupModule()
692 SuggestedModule, IsSystem)) in DoFrameworkLookup()
1476 bool IsSystem) { in hasModuleMap() argument
1495 switch (loadModuleMapFile(*Dir, IsSystem, in hasModuleMap()
1818 IsSystem); in collectAllModules()
1892 bool *IsSystem) { in suggestPathToFileForDiagnostics() argument
1954 if (IsSystem) in suggestPathToFileForDiagnostics()
1961 if (IsSystem) in suggestPathToFileForDiagnostics()
1971 if (IsSystem) in suggestPathToFileForDiagnostics()
[all …]
H A DModuleMap.cpp946 Attrs.IsSystem = IsSystem; in inferFrameworkModule()
1008 Attrs.IsSystem |= inferred->second.Attrs.IsSystem; in inferFrameworkModule()
1048 Result->IsSystem |= Attrs.IsSystem; in inferFrameworkModule()
1457 bool IsSystem; member in clang::ModuleMapParser
1523 IsSystem(IsSystem) { in ModuleMapParser()
2025 if (Attrs.IsSystem || IsSystem) in parseModuleDecl()
2026 ActiveModule->IsSystem = true; in parseModuleDecl()
2198 *File, IsSystem, in parseExternModuleDecl()
2938 Attrs.IsSystem = true; in parseOptionalAttributes()
3049 IsSystem); in parseModuleMapFile()
[all …]
H A DPPMacroExpansion.cpp252 IsSystemMacro &= Active->getOwningModule()->IsSystem || in updateModuleMacroInfo()
H A DPPDirectives.cpp983 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DHeaderSearch.h643 bool IsSystem);
671 bool loadModuleMapFile(const FileEntry *File, bool IsSystem,
731 bool IsSystem);
847 bool *IsSystem = nullptr);
861 bool *IsSystem = nullptr);
885 bool IsSystem,
899 LoadModuleMapResult loadModuleMapFile(StringRef DirName, bool IsSystem,
910 LoadModuleMapResult loadModuleMapFile(DirectoryEntryRef Dir, bool IsSystem,
H A DModuleMap.h60 const FileEntry &File, bool IsSystem) {} in moduleMapFileRead() argument
232 unsigned IsSystem : 1; member
245 : IsSystem(false), IsExternC(false), IsExhaustive(false), in Attributes()
574 bool IsSystem, Module *Parent);
705 bool parseModuleMapFile(const FileEntry *File, bool IsSystem,
/llvm-project-15.0.7/clang/unittests/Lex/
H A DHeaderSearchTest.cpp169 bool IsSystem = false; in TEST_F() local
174 /*MainFile=*/"", &IsSystem), in TEST_F()
176 EXPECT_TRUE(IsSystem); in TEST_F()
/llvm-project-15.0.7/clang/lib/Basic/
H A DModule.cpp43 IsSystem(false), IsExternC(false), IsInferred(false), in Module()
51 IsSystem = Parent->IsSystem; in Module()
443 if (IsSystem || IsExternC) { in print()
445 if (IsSystem) in print()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeaders.cpp335 bool IsSystem = false; in calculateIncludePath() local
339 InsertedHeader.File, BuildDir, IncludingFile, &IsSystem); in calculateIncludePath()
352 if (IsSystem) in calculateIncludePath()
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DIncludeFixer.cpp316 bool IsSystem = false; in minimizeInclude() local
318 HeaderSearch.suggestPathToFileForDiagnostics(*Entry, "", &IsSystem); in minimizeInclude()
320 return IsSystem ? '<' + Suggestion + '>' : '"' + Suggestion + '"'; in minimizeInclude()
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp66 CI.getFrontendOpts().IsSystemModule = Deps.IsSystem; in makeInvocationForModuleBuildWithoutPaths()
266 MD.IsSystem = M->IsSystem; in handleTopLevelModule()
/llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h86 bool IsSystem; member
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSymbolCollector.cpp329 bool IsSystem = isSystem(HeadersDirKind); in getFrameworkUmbrellaSpelling() local
336 if (IsSystem) in getFrameworkUmbrellaSpelling()
349 if (IsSystem) in getFrameworkUmbrellaSpelling()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DModule.h290 unsigned IsSystem : 1; variable
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaLookup.cpp5677 bool IsSystem = false; in getHeaderNameForHeader() local
5679 E, IncludingFile, &IsSystem); in getHeaderNameForHeader()
5680 return (IsSystem ? '<' : '"') + Path + (IsSystem ? '>' : '"'); in getHeaderNameForHeader()
H A DSemaCodeComplete.cpp9932 bool IsSystem, in CodeCompleteIncludedFile()
9952 IsSystem || isQt || Dir.endswith(".framework/Headers"); in CodeCompleteIncludedFile()
10000 bool IsSystem) { in CodeCompleteIncludedFile() argument
10006 AddFilesFromIncludeDir(IncludeDir.getDir()->getName(), IsSystem, in CodeCompleteIncludedFile()
10010 AddFilesFromIncludeDir(IncludeDir.getFrameworkDir()->getName(), IsSystem, in CodeCompleteIncludedFile()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp505 bool IsSystem, bool Complain) { in checkDiagnosticMappings() argument
507 if (IsSystem) { in checkDiagnosticMappings()
585 return checkDiagnosticMappings(*Diags, ExistingDiags, TopM->IsSystem, in ReadDiagnosticOptions()
2707 bool IsSystem = I >= NumUserInputs; in ReadControlBlock() local
2709 Listener->visitInputFile(FI.Filename, IsSystem, FI.Overridden, in ReadControlBlock()
5561 bool IsSystem = Record[Idx++]; in ReadSubmoduleBlock() local
5611 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock()
9202 bool IsSystem = I >= NumUserInputs; in visitInputFiles() local
9204 Visitor(IF, IsSystem); in visitInputFiles()

12