Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DDependencyFile.cpp102 bool IsSystem) override { in moduleMapFileRead()
105 /*IsSystem*/ IsSystem, in moduleMapFileRead()
126 bool visitInputFile(StringRef Filename, bool IsSystem, in visitInputFile()
136 DepCollector.maybeAddDependency(Filename, /*FromModule*/ true, IsSystem, in visitInputFile()
145 bool FromModule, bool IsSystem, in maybeAddDependency() argument
148 if (sawDependency(Filename, FromModule, IsSystem, IsModuleFile, IsMissing)) in maybeAddDependency()
176 bool IsSystem, bool IsModuleFile, in sawDependency() argument
179 (needSystemDependencies() || !IsSystem); in sawDependency()
216 bool IsSystem, bool IsModuleFile, in sawDependency() argument
234 return !IsSystem; in sawDependency()
H A DModuleDependencyCollector.cpp36 bool visitInputFile(StringRef Filename, bool IsSystem, bool IsOverridden, in visitInputFile() argument
H A DFrontendAction.cpp446 static bool loadModuleMapForModuleBuild(CompilerInstance &CI, bool IsSystem, in loadModuleMapForModuleBuild() argument
469 if (HS.loadModuleMapFile(*ModuleMap, IsSystem, ModuleMapID, &Offset, in loadModuleMapForModuleBuild()
483 (void)HS.getModuleMap().inferFrameworkModule(*Dir, IsSystem, nullptr); in loadModuleMapForModuleBuild()
904 auto Kind = CurrentModule->IsSystem ? SrcMgr::C_System : SrcMgr::C_User; in BeginSourceFile()
H A DCompilerInstance.cpp1343 FrontendInputFile(ModuleMapFilePath, IK, +Module->IsSystem), in compileModule()
1360 FrontendInputFile(FakeModuleMapFile, IK, +Module->IsSystem), in compileModule()
H A DCompilerInvocation.cpp2997 bool IsSystem = false; in ParseFrontendArgs() local
3003 IsSystem = Opts.IsSystemModule; in ParseFrontendArgs()
3006 Opts.Inputs.emplace_back(std::move(Inputs[i]), IK, IsSystem); in ParseFrontendArgs()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendOptions.h237 bool IsSystem = false; variable
241 FrontendInputFile(StringRef File, InputKind Kind, bool IsSystem = false)
242 : File(File.str()), Kind(Kind), IsSystem(IsSystem) {}
244 bool IsSystem = false)
245 : Buffer(Buffer), Kind(Kind), IsSystem(IsSystem) {} in Buffer()
248 bool isSystem() const { return IsSystem; } in isSystem()
H A DUtils.h76 bool IsSystem, bool IsModuleFile, bool IsMissing);
87 bool IsSystem, bool IsModuleFile,
114 bool sawDependency(StringRef Filename, bool FromModule, bool IsSystem,
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp330 bool IsSystem = Dir.isSystemHeaderDirectory(); in lookupModule() local
335 if (loadModuleMapFile(NormalDir, IsSystem, in lookupModule()
349 if (loadModuleMapFile(NestedModuleMapDirName, IsSystem, in lookupModule()
713 bool IsSystem = getDirCharacteristic() != SrcMgr::C_User; in DoFrameworkLookup() local
1509 bool IsSystem) { in hasModuleMap() argument
1528 switch (loadModuleMapFile(*Dir, IsSystem, in hasModuleMap()
1744 if (ModMap.parseModuleMapFile(*PMMFile, IsSystem, Dir)) { in loadModuleMapFileImpl()
1789 bool IsSystem) { in loadFrameworkModule() argument
1813 return loadModuleMapFile(*Dir, IsSystem, IsFramework); in loadModuleMapFile()
1847 bool IsSystem = DL.isSystemHeaderDirectory(); in collectAllModules() local
[all …]
H A DModuleMap.cpp996 Attrs.IsSystem = IsSystem; in inferFrameworkModule()
1058 Attrs.IsSystem |= inferred->second.Attrs.IsSystem; in inferFrameworkModule()
1098 Result->IsSystem |= Attrs.IsSystem; in inferFrameworkModule()
1530 bool IsSystem; member in clang::ModuleMapParser
1594 IsSystem(IsSystem) { in ModuleMapParser()
2115 if (Attrs.IsSystem || IsSystem) in parseModuleDecl()
2116 ActiveModule->IsSystem = true; in parseModuleDecl()
2286 *File, IsSystem, in parseExternModuleDecl()
3032 Attrs.IsSystem = true; in parseOptionalAttributes()
3143 IsSystem); in parseModuleMapFile()
[all …]
H A DPPMacroExpansion.cpp251 IsSystemMacro &= Active->getOwningModule()->IsSystem || in updateModuleMacroInfo()
H A DPPDirectives.cpp992 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h61 bool IsSystem) {} in moduleMapFileRead() argument
236 unsigned IsSystem : 1;
252 : IsSystem(false), IsExternC(false), IsExhaustive(false), in Attributes()
589 Module *inferFrameworkModule(DirectoryEntryRef FrameworkDir, bool IsSystem,
726 bool parseModuleMapFile(FileEntryRef File, bool IsSystem,
H A DHeaderSearch.h666 bool IsSystem);
700 bool loadModuleMapFile(FileEntryRef File, bool IsSystem, FileID ID = FileID(),
760 bool IsSystem);
917 LoadModuleMapResult loadModuleMapFileImpl(FileEntryRef File, bool IsSystem,
931 LoadModuleMapResult loadModuleMapFile(StringRef DirName, bool IsSystem,
942 LoadModuleMapResult loadModuleMapFile(DirectoryEntryRef Dir, bool IsSystem,
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp43 IsSystem(false), IsExternC(false), IsInferred(false), in Module()
51 IsSystem = Parent->IsSystem; in Module()
487 if (IsSystem || IsExternC) { in print()
489 if (IsSystem) in print()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp172 CI.getMutFrontendOpts().IsSystemModule = Deps.IsSystem; in getInvocationAdjustedForModuleBuildWithoutOutputs()
511 MD.IsSystem = M->IsSystem; in handleTopLevelModule()
529 [&](const serialization::InputFileInfo &IFI, bool IsSystem) { in handleTopLevelModule() argument
549 [&](const serialization::InputFileInfo &IFI, bool IsSystem) { in handleTopLevelModule() argument
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVElement.h97 IsSystem, enumerator
170 PROPERTY(Property, IsSystem);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h114 bool IsSystem; member
/freebsd-14.2/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp205 if (M->IsSystem) in checkPrivateAPINotesName()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h332 unsigned IsSystem : 1;
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp515 if (IsSystem) { in checkDiagnosticMappings()
602 return checkDiagnosticMappings(*Diags, ExistingDiags, TopM->IsSystem, in ReadDiagnosticOptions()
2889 bool IsSystem = I >= NumUserInputs; in ReadControlBlock() local
2892 FI.FilenameAsRequested, IsSystem, FI.Overridden, in ReadControlBlock()
5773 bool IsSystem = Record[Idx++]; in ReadSubmoduleBlock() local
5824 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock()
9469 bool IsSystem)> in visitInputFileInfos()
9476 bool IsSystem = I >= NumUserInputs; in visitInputFileInfos() local
9478 Visitor(IFI, IsSystem); in visitInputFileInfos()
9491 bool IsSystem = I >= NumUserInputs; in visitInputFiles() local
[all …]
H A DASTWriter.cpp2885 Mod->IsSystem, in WriteSubmodules()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h2394 bool IsSystem)>
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp10095 bool IsSystem, in CodeCompleteIncludedFile()
10115 IsSystem || isQt || Dir.ends_with(".framework/Headers"); in CodeCompleteIncludedFile()
10163 bool IsSystem) { in CodeCompleteIncludedFile() argument
10169 AddFilesFromIncludeDir(IncludeDir.getDirRef()->getName(), IsSystem, in CodeCompleteIncludedFile()
10174 IsSystem, DirectoryLookup::LT_Framework); in CodeCompleteIncludedFile()