Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DFileIndexRecord.h29 bool IsSystem; variable
33 FileIndexRecord(FileID FID, bool IsSystem) : FID(FID), IsSystem(IsSystem) {} in FileIndexRecord() argument
40 bool isSystem() const { return IsSystem; } in isSystem()
/netbsd-src/external/apache2/llvm/dist/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()
210 bool IsSystem, bool IsModuleFile, in sawDependency() argument
228 return !IsSystem; in sawDependency()
H A DModuleDependencyCollector.cpp34 bool visitInputFile(StringRef Filename, bool IsSystem, bool IsOverridden, in visitInputFile() argument
H A DFrontendAction.cpp428 static bool loadModuleMapForModuleBuild(CompilerInstance &CI, bool IsSystem, in loadModuleMapForModuleBuild() argument
450 if (HS.loadModuleMapFile(ModuleMap, IsSystem, ModuleMapID, &Offset, in loadModuleMapForModuleBuild()
798 auto Kind = CurrentModule->IsSystem ? SrcMgr::C_System : SrcMgr::C_User; in BeginSourceFile()
H A DCompilerInstance.cpp1210 FrontendInputFile(ModuleMapFile->getName(), IK, +Module->IsSystem), in compileModule()
1228 FrontendInputFile(FakeModuleMapFile, IK, +Module->IsSystem), in compileModule()
H A DCompilerInvocation.cpp2785 bool IsSystem = false; in ParseFrontendArgs() local
2791 IsSystem = Opts.IsSystemModule; in ParseFrontendArgs()
2794 Opts.Inputs.emplace_back(std::move(Inputs[i]), IK, IsSystem); in ParseFrontendArgs()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DFrontendOptions.h198 bool IsSystem = false; variable
202 FrontendInputFile(StringRef File, InputKind Kind, bool IsSystem = false)
203 : File(File.str()), Kind(Kind), IsSystem(IsSystem) {}
205 bool IsSystem = false)
206 : Buffer(Buffer), Kind(Kind), IsSystem(IsSystem) {} in Buffer()
209 bool isSystem() const { return IsSystem; } in isSystem()
H A DUtils.h90 bool IsSystem, bool IsModuleFile, bool IsMissing);
101 bool IsSystem, bool IsModuleFile,
128 bool sawDependency(StringRef Filename, bool FromModule, bool IsSystem,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DHeaderSearch.cpp272 bool IsSystem in lookupModule() local
274 Module = loadFrameworkModule(ModuleName, *FrameworkDir, IsSystem); in lookupModule()
286 bool IsSystem = SearchDirs[Idx].isSystemHeaderDirectory(); in lookupModule() local
288 if (loadModuleMapFile(SearchDirs[Idx].getDir(), IsSystem, in lookupModule()
302 if (loadModuleMapFile(NestedModuleMapDirName, IsSystem, in lookupModule()
634 bool IsSystem = getDirCharacteristic() != SrcMgr::C_User; in DoFrameworkLookup() local
638 SuggestedModule, IsSystem)) in DoFrameworkLookup()
643 IsSystem)) in DoFrameworkLookup()
1366 bool IsSystem) { in hasModuleMap() argument
1385 switch (loadModuleMapFile(*Dir, IsSystem, in hasModuleMap()
[all …]
H A DModuleMap.cpp294 Mod->isPartOfFramework() || !Mod->IsSystem || Header.IsUmbrella || in resolveAsBuiltinHeader()
931 bool IsSystem, Module *Parent) { in inferFrameworkModule() argument
933 Attrs.IsSystem = IsSystem; in inferFrameworkModule()
979 parseModuleMapFile(ModMapFile, Attrs.IsSystem, *ParentDir); in inferFrameworkModule()
996 Attrs.IsSystem |= inferred->second.Attrs.IsSystem; in inferFrameworkModule()
1036 Result->IsSystem |= Attrs.IsSystem; in inferFrameworkModule()
1436 bool IsSystem; member in clang::ModuleMapParser
1499 const DirectoryEntry *Directory, bool IsSystem) in ModuleMapParser() argument
1502 IsSystem(IsSystem) { in ModuleMapParser()
2004 if (Attrs.IsSystem || IsSystem) in parseModuleDecl()
[all …]
H A DPPMacroExpansion.cpp254 IsSystemMacro &= Active->getOwningModule()->IsSystem || in updateModuleMacroInfo()
H A DPPDirectives.cpp779 BuildSystemModule = getCurrentModule()->IsSystem; in LookupFile()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DHeaderSearch.h578 bool IsSystem);
606 bool loadModuleMapFile(const FileEntry *File, bool IsSystem,
664 bool IsSystem);
760 bool *IsSystem = nullptr);
774 bool *IsSystem = nullptr);
798 bool IsSystem,
812 LoadModuleMapResult loadModuleMapFile(StringRef DirName, bool IsSystem,
824 bool IsSystem, bool IsFramework);
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()
564 bool IsSystem, Module *Parent);
689 bool parseModuleMapFile(const FileEntry *File, bool IsSystem,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp33 CI.getFrontendOpts().IsSystemModule = Deps.IsSystem; in makeInvocationForModuleBuildWithoutPaths()
182 MD.IsSystem = M->IsSystem; in handleTopLevelModule()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DModule.cpp43 IsSystem(false), IsExternC(false), IsInferred(false), in Module()
51 IsSystem = Parent->IsSystem; in Module()
442 if (IsSystem || IsExternC) { in print()
444 if (IsSystem) in print()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h52 bool IsSystem; member
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DModule.h271 unsigned IsSystem : 1; variable
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaLookup.cpp5355 bool IsSystem = false; in getHeaderNameForHeader() local
5357 E, IncludingFile, &IsSystem); in getHeaderNameForHeader()
5358 return (IsSystem ? '<' : '"') + Path + (IsSystem ? '>' : '"'); in getHeaderNameForHeader()
H A DSemaCodeComplete.cpp9432 bool IsSystem, in CodeCompleteIncludedFile()
9477 if (!IsSystem) { in CodeCompleteIncludedFile()
9495 bool IsSystem) { in CodeCompleteIncludedFile() argument
9501 AddFilesFromIncludeDir(IncludeDir.getDir()->getName(), IsSystem, in CodeCompleteIncludedFile()
9505 AddFilesFromIncludeDir(IncludeDir.getFrameworkDir()->getName(), IsSystem, in CodeCompleteIncludedFile()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReader.cpp503 bool IsSystem, bool Complain) { in checkDiagnosticMappings() argument
505 if (IsSystem) { in checkDiagnosticMappings()
582 return checkDiagnosticMappings(*Diags, ExistingDiags, TopM->IsSystem, in ReadDiagnosticOptions()
2667 bool IsSystem = I >= NumUserInputs; in ReadControlBlock() local
2669 Listener->visitInputFile(FI.Filename, IsSystem, FI.Overridden, in ReadControlBlock()
5511 bool IsSystem = Record[Idx++]; in ReadSubmoduleBlock() local
5560 CurrentModule->IsSystem = IsSystem || CurrentModule->IsSystem; in ReadSubmoduleBlock()
9126 bool IsSystem = I >= NumUserInputs; in visitInputFiles() local
9128 Visitor(IF, IsSystem); in visitInputFiles()
H A DASTWriter.cpp2637 Mod->IsSystem, in WriteSubmodules()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp8485 return Mod->IsSystem; in clang_Module_isSystem()