| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | IncludeInserter.cpp | 26 bool IsAngled, CharSourceRange FileNameRange, in InclusionDirective() argument 31 Inserter->addInclude(FileNameRef, IsAngled, HashLocation, in InclusionDirective() 72 bool IsAngled = Header.consume_front("<"); in createIncludeInsertion() local 73 if (IsAngled != Header.consume_back(">")) in createIncludeInsertion() 82 return getOrCreate(FileID).createIncludeInsertion(Header, IsAngled); in createIncludeInsertion() 92 void IncludeInserter::addInclude(StringRef FileName, bool IsAngled, in addInclude() argument 98 getOrCreate(FileID).addInclude(FileName, IsAngled, HashLocation, EndLocation); in addInclude()
|
| H A D | IncludeSorter.cpp | 68 bool IsAngled, IncludeSorter::IncludeStyle Style) { in determineIncludeKind() argument 73 if (IsAngled) { in determineIncludeKind() 131 void IncludeSorter::addInclude(StringRef FileName, bool IsAngled, in addInclude() argument 147 determineIncludeKind(CanonicalFile, FileName, IsAngled, Style); in addInclude() 153 bool IsAngled) { in createIncludeInsertion() argument 156 IncludeStmt = IsAngled in createIncludeInsertion() 160 IncludeStmt = IsAngled in createIncludeInsertion() 173 determineIncludeKind(CanonicalFile, FileName, IsAngled, Style); in createIncludeInsertion()
|
| H A D | IncludeSorter.h | 44 void addInclude(StringRef FileName, bool IsAngled, 49 Optional<FixItHint> createIncludeInsertion(StringRef FileName, bool IsAngled);
|
| H A D | IncludeInserter.h | 88 void addInclude(StringRef FileName, bool IsAngled,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/ |
| H A D | IncludeOrderCheck.cpp | 29 StringRef FileName, bool IsAngled, 41 bool IsAngled; ///< true if this was an include with angle brackets member 60 static int getPriority(StringRef Filename, bool IsAngled, bool IsMainModule) { in getPriority() argument 76 if (IsAngled) in getPriority() 85 bool IsAngled, CharSourceRange FilenameRange, Optional<FileEntryRef> File, in InclusionDirective() argument 91 IsAngled, false}; in InclusionDirective() 92 if (LookForMainModule && !IsAngled) { in InclusionDirective() 135 int PriorityLHS = getPriority(LHS.Filename, LHS.IsAngled, in EndOfMainFile() 137 int PriorityRHS = getPriority(RHS.Filename, RHS.IsAngled, in EndOfMainFile()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | PPCallbacks.cpp | 18 bool IsAngled, Optional<FileEntryRef> File, in HasInclude() argument 25 bool IsAngled, Optional<FileEntryRef> File, in HasInclude() argument 27 First->HasInclude(Loc, FileName, IsAngled, File, FileType); in HasInclude() 28 Second->HasInclude(Loc, FileName, IsAngled, File, FileType); in HasInclude()
|
| H A D | PreprocessingRecord.cpp | 482 bool IsAngled, in InclusionDirective() argument 513 if (!IsAngled) { in InclusionDirective() 522 new (*this) clang::InclusionDirective(*this, Kind, FileName, !IsAngled, in InclusionDirective()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvmlibc/ |
| H A D | RestrictSystemLibcHeadersCheck.cpp | 35 StringRef FileName, bool IsAngled, 49 bool IsAngled, CharSourceRange FilenameRange, Optional<FileEntryRef> File, in InclusionDirective() argument 56 HashLoc, IncludeTok, FileName, IsAngled, FilenameRange, File, SearchPath, in InclusionDirective()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SuspiciousIncludeCheck.cpp | 26 StringRef FileName, bool IsAngled, 75 bool IsAngled, CharSourceRange FilenameRange, Optional<FileEntryRef> File, in InclusionDirective() argument 97 PP->LookupFile(DiagLoc, GuessedFileName, IsAngled, nullptr, nullptr, in InclusionDirective()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Inclusions/ |
| H A D | HeaderIncludes.cpp | 344 HeaderIncludes::insert(llvm::StringRef IncludeName, bool IsAngled) const { in insert() 352 if ((IsAngled && StringRef(Inc.Name).startswith("<")) || in insert() 353 (!IsAngled && StringRef(Inc.Name).startswith("\""))) in insert() 356 std::string(llvm::formatv(IsAngled ? "<{0}>" : "\"{0}\"", IncludeName)); in insert() 385 bool IsAngled) const { in remove() 392 if ((IsAngled && StringRef(Inc.Name).startswith("\"")) || in remove() 393 (!IsAngled && StringRef(Inc.Name).startswith("<"))) in remove()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | HeaderIncludes.h | 74 bool IsAngled) const; 80 tooling::Replacements remove(llvm::StringRef Header, bool IsAngled) const;
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | PPCallbacks.h | 130 bool IsAngled, in InclusionDirective() argument 329 virtual void HasInclude(SourceLocation Loc, StringRef FileName, bool IsAngled, 459 StringRef FileName, bool IsAngled, in InclusionDirective() argument 464 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective() 467 Second->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective() 550 void HasInclude(SourceLocation Loc, StringRef FileName, bool IsAngled,
|
| H A D | CodeCompletionHandler.h | 67 virtual void CodeCompleteIncludedFile(llvm::StringRef Dir, bool IsAngled) {} in CodeCompleteIncludedFile() argument
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | DuplicateIncludeCheck.cpp | 49 StringRef FileName, bool IsAngled, 80 bool IsAngled, CharSourceRange FilenameRange, Optional<FileEntryRef> File, in InclusionDirective() argument
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | DependencyGraph.cpp | 49 StringRef FileName, bool IsAngled, 72 bool IsAngled, in InclusionDirective() argument
|
| H A D | PrintPreprocessedOutput.cpp | 147 StringRef FileName, bool IsAngled, 395 bool IsAngled, in InclusionDirective() argument 409 << (IsAngled ? '<' : '"') << FileName << (IsAngled ? '>' : '"') in InclusionDirective() 424 << (IsAngled ? '<' : '"') << FileName << (IsAngled ? '>' : '"') in InclusionDirective()
|
| H A D | DependencyFile.cpp | 66 StringRef FileName, bool IsAngled, in InclusionDirective() 78 void HasInclude(SourceLocation Loc, StringRef SpelledFilename, bool IsAngled, in HasInclude()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ParsedASTTests.cpp | 358 const Token &IncludeTok, llvm::StringRef FileName, bool IsAngled, in TEST() 363 FileName(FileName), IsAngled(IsAngled) { in TEST() 373 bool IsAngled; in TEST() member 382 StringRef FileName, bool IsAngled, in TEST() 387 Includes.emplace_back(SM, HashLoc, IncludeTok, FileName, IsAngled, in TEST() 456 EXPECT_EQ(Inc.IsAngled, Code[FileBeginLocs[I]] == '<'); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | DeprecatedHeadersCheck.cpp | 34 StringRef FileName, bool IsAngled, 182 bool IsAngled, CharSourceRange FilenameRange, Optional<FileEntryRef> File, in InclusionDirective() argument
|
| /llvm-project-15.0.7/clang/unittests/Lex/ |
| H A D | PPCallbacksTest.cpp | 37 StringRef FileName, bool IsAngled, in InclusionDirective() argument 45 this->IsAngled = IsAngled; in InclusionDirective() 57 bool IsAngled; member in __anonec3cc9fe0111::InclusionDirectiveCallbacks
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Headers.cpp | 47 llvm::StringRef FileName, bool IsAngled, in InclusionDirective() argument 65 (IsAngled ? "<" + FileName + ">" : "\"" + FileName + "\"").str(); in InclusionDirective() 78 if (IsAngled) in InclusionDirective()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | MacroPPCallbacks.h | 102 StringRef FileName, bool IsAngled,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/ |
| H A D | RestrictSystemIncludesCheck.cpp | 25 bool IsAngled, CharSourceRange FilenameRange, Optional<FileEntryRef> File, in InclusionDirective() argument
|
| H A D | RestrictSystemIncludesCheck.h | 52 StringRef FileName, bool IsAngled,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | KernelNameRestrictionCheck.cpp | 31 StringRef FileName, bool IsAngled,
|