Home
last modified time | relevance | path

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

/freebsd/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/contrib/llvm-project/clang/lib/Frontend/
H A DDependencyFile.cpp128 bool IsSystem) override { in moduleMapFileRead()
131 /*IsSystem*/ IsSystem, in moduleMapFileRead()
152 bool visitInputFile(StringRef Filename, bool IsSystem, in visitInputFile()
162 DepCollector.maybeAddDependency(Filename, /*FromModule*/ true, IsSystem, in visitInputFile()
171 bool FromModule, bool IsSystem, in maybeAddDependency() argument
174 if (sawDependency(Filename, FromModule, IsSystem, IsModuleFile, IsMissing)) in maybeAddDependency()
202 bool IsSystem, bool IsModuleFile, in sawDependency() argument
205 (needSystemDependencies() || !IsSystem); in sawDependency()
242 bool IsSystem, bool IsModuleFile, in sawDependency() argument
260 return !IsSystem; in sawDependency()
H A DFrontendAction.cpp597 static bool loadModuleMapForModuleBuild(CompilerInstance &CI, bool IsSystem, in loadModuleMapForModuleBuild() argument
620 if (HS.parseAndLoadModuleMapFile(*ModuleMap, IsSystem, ModuleMapID, &Offset, in loadModuleMapForModuleBuild()
634 (void)HS.getModuleMap().inferFrameworkModule(*Dir, IsSystem, nullptr); in loadModuleMapForModuleBuild()
689 M->IsSystem ? SrcMgr::C_System_ModuleMap : SrcMgr::C_User_ModuleMap; in prepareToBuildModule()
1061 auto Kind = CurrentModule->IsSystem ? SrcMgr::C_System : SrcMgr::C_User; in BeginSourceFile()
H A DModuleDependencyCollector.cpp35 bool visitInputFile(StringRef Filename, bool IsSystem, bool IsOverridden, in visitInputFile() argument
H A DCompilerInstance.cpp1381 bool IsSystem = isSystem(SLoc.getFile().getFileCharacteristic()); in cloneForModuleCompile() local
1386 FrontendInputFile(ModuleMapFilePath, IK, IsSystem), in cloneForModuleCompile()
1404 FrontendInputFile(FakeModuleMapFile, IK, +Module->IsSystem), in cloneForModuleCompile()
H A DCompilerInvocation.cpp3285 bool IsSystem = false; in ParseFrontendArgs() local
3291 IsSystem = Opts.IsSystemModule; in ParseFrontendArgs()
3294 Opts.Inputs.emplace_back(std::move(Inputs[i]), IK, IsSystem); in ParseFrontendArgs()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendOptions.h242 bool IsSystem = false; variable
246 FrontendInputFile(StringRef File, InputKind Kind, bool IsSystem = false)
247 : File(File.str()), Kind(Kind), IsSystem(IsSystem) {}
249 bool IsSystem = false)
250 : Buffer(Buffer), Kind(Kind), IsSystem(IsSystem) {} in Buffer()
253 bool isSystem() const { return IsSystem; } in isSystem()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp344 bool IsSystem = Dir.getDirCharacteristic() != SrcMgr::C_User; in lookupModule() local
345 Module = loadFrameworkModule(ModuleName, *FrameworkDir, IsSystem); in lookupModule()
357 bool IsSystem = Dir.isSystemHeaderDirectory(); in lookupModule() local
362 if (parseModuleMapFile(NormalDir, IsSystem, in lookupModule()
376 if (parseModuleMapFile(NestedModuleMapDirName, IsSystem, in lookupModule()
742 bool IsSystem = getDirCharacteristic() != SrcMgr::C_User; in DoFrameworkLookup() local
746 SuggestedModule, IsSystem)) in DoFrameworkLookup()
750 SuggestedModule, IsSystem)) in DoFrameworkLookup()
1558 bool IsSystem) { in hasModuleMap() argument
1578 *Dir, IsSystem, in hasModuleMap()
[all …]
H A DModuleMap.cpp331 Mod->isPartOfFramework() || !Mod->IsSystem || Header.IsUmbrella || in resolveAsBuiltinHeader()
411 Module->IsSystem && !Module->isPartOfFramework() && in shouldImportRelativeToBuiltinIncludeDir()
1005 bool IsSystem, Module *Parent) { in inferFrameworkModule() argument
1007 Attrs.IsSystem = IsSystem; in inferFrameworkModule()
1055 parseAndLoadModuleMapFile(*ModMapFile, Attrs.IsSystem, *ParentDir); in inferFrameworkModule()
1071 Attrs.IsSystem |= inferred->second.Attrs.IsSystem; in inferFrameworkModule()
1110 Result->IsSystem |= Attrs.IsSystem; in inferFrameworkModule()
1324 bool ModuleMap::parseModuleMapFile(FileEntryRef File, bool IsSystem, in parseModuleMapFile() argument
1337 IsSystem ? SrcMgr::C_System_ModuleMap : SrcMgr::C_User_ModuleMap; in parseModuleMapFile()
1350 modulemap::parseModuleMap(ID, Dir, SourceMgr, Diags, IsSystem, nullptr); in parseModuleMapFile()
[all …]
H A DModuleMapFile.cpp150 bool IsSystem, unsigned *Offset) { in parseModuleMap() argument
173 Parser.MMF.IsSystem = IsSystem; in parseModuleMap()
1115 Attrs.IsSystem = true; in parseOptionalAttributes()
H A DPPMacroExpansion.cpp249 IsSystemMacro &= Active->getOwningModule()->IsSystem || in updateModuleMacroInfo()
H A DPPDirectives.cpp1019 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderSearch.h691 bool IsSystem);
725 bool parseAndLoadModuleMapFile(FileEntryRef File, bool IsSystem,
786 bool IsSystem);
945 bool IsSystem,
950 ModuleMapResult parseModuleMapFileImpl(FileEntryRef File, bool IsSystem,
963 ModuleMapResult parseAndLoadModuleMapFile(StringRef DirName, bool IsSystem,
975 bool IsSystem, bool IsFramework);
977 ModuleMapResult parseModuleMapFile(StringRef DirName, bool IsSystem,
979 ModuleMapResult parseModuleMapFile(DirectoryEntryRef Dir, bool IsSystem,
H A DModuleMapFile.h146 bool IsSystem; member
166 DiagnosticsEngine &Diags, bool IsSystem, unsigned *Offset);
H A DModuleMap.h62 bool IsSystem) {} in moduleMapFileRead() argument
592 Module *inferFrameworkModule(DirectoryEntryRef FrameworkDir, bool IsSystem,
712 bool parseModuleMapFile(FileEntryRef File, bool IsSystem,
737 parseAndLoadModuleMapFile(FileEntryRef File, bool IsSystem,
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp43 IsSystem(false), IsExternC(false), IsInferred(false), in Module()
51 IsSystem = Parent->IsSystem; in Module()
472 if (IsSystem || IsExternC) { in print()
474 if (IsSystem) in print()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h112 unsigned IsSystem : 1;
128 : IsSystem(false), IsExternC(false), IsExhaustive(false), in ModuleAttributes()
389 unsigned IsSystem : 1;
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVElement.h105 IsSystem, enumerator
178 PROPERTY(Property, IsSystem);
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp328 CI.getMutFrontendOpts().IsSystemModule = Deps.IsSystem; in getInvocationAdjustedForModuleBuildWithoutOutputs()
763 MD.IsSystem = M->IsSystem; in handleTopLevelModule()
790 [&](const serialization::InputFileInfo &IFI, bool IsSystem) { in handleTopLevelModule() argument
810 [&](const serialization::InputFileInfo &IFI, bool IsSystem) { in handleTopLevelModule() argument
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h157 bool IsSystem; member
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp205 if (M->IsSystem) in checkPrivateAPINotesName()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp525 StringRef ModuleFilename, bool IsSystem, in checkDiagnosticMappings() argument
529 if (IsSystem) { in checkDiagnosticMappings()
625 TopM->IsSystem, SystemHeaderWarningsInModule, in ReadDiagnosticOptions()
3124 bool IsSystem = I >= NumUserInputs; in ReadControlBlock() local
3129 *FilenameAsRequested, IsSystem, FI.Overridden, in ReadControlBlock()
6104 bool IsSystem = Record[Idx++]; in ReadSubmoduleBlock() local
6165 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock()
10226 bool IsSystem)> in visitInputFileInfos()
10233 bool IsSystem = I >= NumUserInputs; in visitInputFileInfos() local
10235 Visitor(IFI, IsSystem); in visitInputFileInfos()
[all …]
H A DASTWriter.cpp3107 Mod->IsSystem, in WriteSubmodules()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h2616 bool IsSystem)>
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp10344 bool IsSystem, in CodeCompleteIncludedFile()
10364 IsSystem || isQt || Dir.ends_with(".framework/Headers"); in CodeCompleteIncludedFile()
10412 bool IsSystem) { in CodeCompleteIncludedFile() argument
10418 AddFilesFromIncludeDir(IncludeDir.getDirRef()->getName(), IsSystem, in CodeCompleteIncludedFile()
10423 IsSystem, DirectoryLookup::LT_Framework); in CodeCompleteIncludedFile()