Home
last modified time | relevance | path

Searched refs:IsSystem (Results 1 – 23 of 23) 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.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()
539 M->IsSystem ? SrcMgr::C_System_ModuleMap : SrcMgr::C_User_ModuleMap; in prepareToBuildModule()
913 auto Kind = CurrentModule->IsSystem ? SrcMgr::C_System : SrcMgr::C_User; in BeginSourceFile()
H A DModuleDependencyCollector.cpp36 bool visitInputFile(StringRef Filename, bool IsSystem, bool IsOverridden, in visitInputFile() argument
H A DCompilerInstance.cpp1370 FrontendInputFile(ModuleMapFilePath, IK, +Module->IsSystem), in compileModule()
1387 FrontendInputFile(FakeModuleMapFile, IK, +Module->IsSystem), in compileModule()
H A DCompilerInvocation.cpp3106 bool IsSystem = false; in ParseFrontendArgs() local
3112 IsSystem = Opts.IsSystemModule; in ParseFrontendArgs()
3115 Opts.Inputs.emplace_back(std::move(Inputs[i]), IK, IsSystem); in ParseFrontendArgs()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendOptions.h245 bool IsSystem = false; variable
249 FrontendInputFile(StringRef File, InputKind Kind, bool IsSystem = false)
250 : File(File.str()), Kind(Kind), IsSystem(IsSystem) {}
252 bool IsSystem = false)
253 : Buffer(Buffer), Kind(Kind), IsSystem(IsSystem) {} in Buffer()
256 bool isSystem() const { return IsSystem; } in isSystem()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp341 bool IsSystem = Dir.getDirCharacteristic() != SrcMgr::C_User; in lookupModule() local
342 Module = loadFrameworkModule(ModuleName, *FrameworkDir, IsSystem); in lookupModule()
354 bool IsSystem = Dir.isSystemHeaderDirectory(); in lookupModule() local
359 if (loadModuleMapFile(NormalDir, IsSystem, in lookupModule()
373 if (loadModuleMapFile(NestedModuleMapDirName, IsSystem, in lookupModule()
737 bool IsSystem = getDirCharacteristic() != SrcMgr::C_User; in DoFrameworkLookup() local
741 SuggestedModule, IsSystem)) in DoFrameworkLookup()
745 SuggestedModule, IsSystem)) in DoFrameworkLookup()
1614 bool IsSystem) { in hasModuleMap() argument
1633 switch (loadModuleMapFile(*Dir, IsSystem, in hasModuleMap()
[all …]
H A DModuleMap.cpp337 Mod->isPartOfFramework() || !Mod->IsSystem || Header.IsUmbrella || in resolveAsBuiltinHeader()
423 Module->IsSystem && !Module->isPartOfFramework() && in shouldImportRelativeToBuiltinIncludeDir()
993 bool IsSystem, Module *Parent) { in inferFrameworkModule() argument
995 Attrs.IsSystem = IsSystem; in inferFrameworkModule()
1041 parseModuleMapFile(*ModMapFile, Attrs.IsSystem, *ParentDir); in inferFrameworkModule()
1057 Attrs.IsSystem |= inferred->second.Attrs.IsSystem; in inferFrameworkModule()
1097 Result->IsSystem |= Attrs.IsSystem; in inferFrameworkModule()
1535 bool IsSystem; member in clang::ModuleMapParser
1596 DirectoryEntryRef Directory, bool IsSystem) in ModuleMapParser() argument
1598 ModuleMapFID(ModuleMapFID), Directory(Directory), IsSystem(IsSystem) { in ModuleMapParser()
[all …]
H A DPPMacroExpansion.cpp251 IsSystemMacro &= Active->getOwningModule()->IsSystem || in updateModuleMacroInfo()
H A DPPDirectives.cpp993 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
/freebsd/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()
588 Module *inferFrameworkModule(DirectoryEntryRef FrameworkDir, bool IsSystem,
727 bool parseModuleMapFile(FileEntryRef File, bool IsSystem,
H A DHeaderSearch.h694 bool IsSystem);
728 bool loadModuleMapFile(FileEntryRef File, bool IsSystem, FileID ID = FileID(),
788 bool IsSystem);
946 LoadModuleMapResult loadModuleMapFileImpl(FileEntryRef File, bool IsSystem,
960 LoadModuleMapResult loadModuleMapFile(StringRef DirName, bool IsSystem,
971 LoadModuleMapResult loadModuleMapFile(DirectoryEntryRef Dir, 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()
491 if (IsSystem || IsExternC) { in print()
493 if (IsSystem) in print()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp235 CI.getMutFrontendOpts().IsSystemModule = Deps.IsSystem; in getInvocationAdjustedForModuleBuildWithoutOutputs()
580 MD.IsSystem = M->IsSystem; in handleTopLevelModule()
602 [&](const serialization::InputFileInfo &IFI, bool IsSystem) { in handleTopLevelModule() argument
622 [&](const serialization::InputFileInfo &IFI, bool IsSystem) { in handleTopLevelModule() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVElement.h97 IsSystem, enumerator
170 PROPERTY(Property, IsSystem);
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h115 bool IsSystem; member
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp206 if (M->IsSystem) in checkPrivateAPINotesName()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h333 unsigned IsSystem : 1;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp516 DiagnosticsEngine &Diags, bool IsSystem, in checkDiagnosticMappings() argument
520 if (IsSystem) { in checkDiagnosticMappings()
607 return checkDiagnosticMappings(*Diags, ExistingDiags, TopM->IsSystem, in ReadDiagnosticOptions()
2937 bool IsSystem = I >= NumUserInputs; in ReadControlBlock() local
2940 FI.FilenameAsRequested, IsSystem, FI.Overridden, in ReadControlBlock()
5779 bool IsSystem = Record[Idx++]; in ReadSubmoduleBlock() local
5830 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock()
9609 bool IsSystem)> in visitInputFileInfos()
9616 bool IsSystem = I >= NumUserInputs; in visitInputFileInfos() local
9618 Visitor(IFI, IsSystem); in visitInputFileInfos()
[all …]
H A DASTWriter.cpp3023 Mod->IsSystem, in WriteSubmodules()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h2424 bool IsSystem)>
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp10196 bool IsSystem, in CodeCompleteIncludedFile()
10216 IsSystem || isQt || Dir.ends_with(".framework/Headers"); in CodeCompleteIncludedFile()
10264 bool IsSystem) { in CodeCompleteIncludedFile() argument
10270 AddFilesFromIncludeDir(IncludeDir.getDirRef()->getName(), IsSystem, in CodeCompleteIncludedFile()
10275 IsSystem, DirectoryLookup::LT_Framework); in CodeCompleteIncludedFile()