Home
last modified time | relevance | path

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

123456

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/
H A DRestrictSystemIncludesCheck.cpp45 for (const auto &Include : FileDirectives) { in EndOfMainFile() local
48 unsigned ToLen = std::strcspn(SM.getCharacterData(Include.Loc), "\n") + 1; in EndOfMainFile()
50 Include.Loc, Include.Loc.getLocWithOffset(ToLen)); in EndOfMainFile()
52 if (!Include.IsInMainFile) { in EndOfMainFile()
54 Include.Loc, in EndOfMainFile()
56 D << Include.IncludeFile << SM.getFilename(Include.Loc); in EndOfMainFile()
60 auto D = Check.diag(Include.Loc, "system include %0 not allowed"); in EndOfMainFile()
61 D << Include.IncludeFile; in EndOfMainFile()
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DHeaderIncludes.h83 struct Include { struct
84 Include(StringRef Name, tooling::Range R) : Name(Name), R(R) {} in Include() function
93 void addExistingInclude(Include IncludeToAdd, unsigned NextLineOffset); argument
102 llvm::StringMap<std::list<Include>> ExistingIncludes;
110 std::unordered_map<int, llvm::SmallVector<const Include *, 8>>
/llvm-project-15.0.7/clang/lib/Lex/
H A DInitHeaderSearch.cpp596 for (auto &Include : IncludePath) in Realize() local
597 if (Include.Group == Quoted) in Realize()
598 SearchList.push_back(Include); in Realize()
604 for (auto &Include : IncludePath) in Realize() local
605 if (Include.Group == Angled || Include.Group == IndexHeaderMap) in Realize()
606 SearchList.push_back(Include); in Realize()
611 for (auto &Include : IncludePath) in Realize() local
612 if (Include.Group == System || Include.Group == ExternCSystem || in Realize()
618 SearchList.push_back(Include); in Realize()
620 for (auto &Include : IncludePath) in Realize() local
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DSerialization.cpp295 for (llvm::StringRef &Include : IGN.DirectIncludes) in readIncludeGraphNode()
296 Include = Data.consumeString(Strings); in readIncludeGraphNode()
309 for (llvm::StringRef Include : IGN.DirectIncludes) in writeIncludeGraphNode() local
310 writeVar(Strings.index(Include), OS); in writeIncludeGraphNode()
333 writeVar(Strings.index(Include.IncludeHeader), OS); in writeSymbol()
334 writeVar(Include.References, OS); in writeSymbol()
337 for (const auto &Include : Sym.IncludeHeaders) in writeSymbol() local
338 WriteInclude(Include); in writeSymbol()
500 Include = Result.Sources->try_emplace(Include).first->getKey(); in readRIFF()
554 for (llvm::StringRef &Include : IGN.DirectIncludes) in visitStrings()
[all …]
H A DSymbol.h165 for (auto &Include : S.IncludeHeaders) in visitStrings()
166 CB(Include.IncludeHeader); in visitStrings()
/llvm-project-15.0.7/llvm/test/tools/llvm-dwarfdump/X86/Inputs/
H A Ddebug_line_malformed.s15 .asciz "dir1" # Include table
76 .asciz "dir1" # Include table
102 .asciz "dir1" # Include table
131 .asciz "dir1" # Include table
164 .asciz "dir1" # Include table
386 .asciz "dir1" # Include table
411 .asciz "dir1" # Include table
431 .asciz "dir1" # Include table
454 .asciz "dir1" # Include table
484 .asciz "dir1" # Include table
H A Ddebug_line_reserved_length.s15 .asciz "dir1" # Include table
45 .asciz "dir1" # Include table
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DHeaders.cpp197 bool isLiteralInclude(llvm::StringRef Include) { in isLiteralInclude() argument
198 return Include.startswith("<") || Include.startswith("\""); in isLiteralInclude()
236 for (const auto &Include : Includes) in getRankedIncludes() local
237 Headers.push_back(Include.IncludeHeader); in getRankedIncludes()
/llvm-project-15.0.7/clang/test/Modules/
H A Dva_list.m7 // Include the pch, as a basic correctness check.
19 // Include the pch, which now has __va_list_tag in it, which needs to be merged.
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DLLVMModuleTest.cpp43 for (auto Include : Includes) in runIncludeOrderCheck() local
44 PathsToContent.emplace(Include, ""); in runIncludeOrderCheck()
/llvm-project-15.0.7/llvm/test/TableGen/
H A DInclude.inc1 // This is used by the Include.td test
H A DInclude.td5 include "Include.inc"
/llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/
H A DIncludeFixer.cpp302 StringRef Include, const clang::SourceManager &SourceManager, in minimizeInclude() argument
305 return std::string(Include); in minimizeInclude()
308 StringRef StrippedInclude = Include.trim("\"<>"); in minimizeInclude()
314 return std::string(Include); in minimizeInclude()
/llvm-project-15.0.7/clang/test/Driver/
H A Dcl-sysroot.cpp36 #--- Windows Kits/10/Include/10.0.19041.0/ucrt/assert.h
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Daarch64-named-reg-w18.ll5 ; FIXME: Include an allocatable-specific error message
H A Daarch64-named-reg-x18.ll5 ; FIXME: Include an allocatable-specific error message
H A Darm64-named-reg-alloc.ll6 ; FIXME: Include an allocatable-specific error message
/llvm-project-15.0.7/clang-tools-extra/test/modularize/
H A DProblemsNamespace.modularize8 # CHECK-NEXT: error: Include directive within namespace MyNamespace {}.
H A DProblemsExternC.modularize8 # CHECK-NEXT: error: Include directive within extern "C" {}.
/llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/
H A Ddirective-failure.pdll9 // Include
/llvm-project-15.0.7/flang/include/flang/Frontend/
H A DPreprocessorOptions.h32 Include, enumerator
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dnamed-reg-alloc.ll6 ; FIXME: Include an allocatable-specific error message
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dnamed-reg-alloc.ll6 ; FIXME: Include an allocatable-specific error message
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/
H A DCMakeLists.txt18 # Include MCJIT tests only if native arch is a built JIT target.
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dnamed-reg-alloc-r2-64.ll6 ; FIXME: Include an allocatable-specific error message

123456