/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | IncludeInserter.cpp | 26 bool IsAngled, CharSourceRange FileNameRange, in InclusionDirective() argument 31 Inserter->addInclude(FileNameRef, IsAngled, HashLocation, in InclusionDirective() 71 bool IsAngled = Header.consume_front("<"); in createIncludeInsertion() local 72 if (IsAngled != Header.consume_back(">")) in createIncludeInsertion() 79 return getOrCreate(FileID).CreateIncludeInsertion(Header, IsAngled); in createIncludeInsertion() 89 void IncludeInserter::addInclude(StringRef FileName, bool IsAngled, in addInclude() argument 95 getOrCreate(FileID).AddInclude(FileName, IsAngled, HashLocation, EndLocation); in addInclude()
|
D | IncludeSorter.cpp | 68 bool IsAngled, IncludeSorter::IncludeStyle Style) { in DetermineIncludeKind() argument 73 if (IsAngled) { in DetermineIncludeKind() 132 void IncludeSorter::AddInclude(StringRef FileName, bool IsAngled, in AddInclude() argument 148 DetermineIncludeKind(CanonicalFile, FileName, IsAngled, Style); in AddInclude() 154 bool IsAngled) { in CreateIncludeInsertion() argument 157 IncludeStmt = IsAngled in CreateIncludeInsertion() 161 IncludeStmt = IsAngled in CreateIncludeInsertion() 174 DetermineIncludeKind(CanonicalFile, FileName, IsAngled, Style); in CreateIncludeInsertion()
|
D | IncludeSorter.h | 44 void AddInclude(StringRef FileName, bool IsAngled, 49 Optional<FixItHint> CreateIncludeInsertion(StringRef FileName, bool IsAngled);
|
D | IncludeInserter.h | 87 void addInclude(StringRef FileName, bool IsAngled,
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | IncludeOrderCheck.cpp | 28 StringRef FileName, bool IsAngled, 40 bool IsAngled; ///< true if this was an include with angle brackets member 59 static int getPriority(StringRef Filename, bool IsAngled, bool IsMainModule) { in getPriority() argument 70 if (IsAngled || Filename.startswith("gtest/") || in getPriority() 80 bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, in InclusionDirective() argument 86 IsAngled, false}; in InclusionDirective() 87 if (LookForMainModule && !IsAngled) { in InclusionDirective() 131 getPriority(LHS.Filename, LHS.IsAngled, LHS.IsMainModule); in EndOfMainFile() 133 getPriority(RHS.Filename, RHS.IsAngled, RHS.IsMainModule); in EndOfMainFile()
|
/external/llvm-project/clang/lib/Lex/ |
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()
|
D | PreprocessingRecord.cpp | 464 bool IsAngled, in InclusionDirective() argument 495 if (!IsAngled) { in InclusionDirective() 504 new (*this) clang::InclusionDirective(*this, Kind, FileName, !IsAngled, in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvmlibc/ |
D | RestrictSystemLibcHeadersCheck.cpp | 35 StringRef FileName, bool IsAngled, 49 bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, in InclusionDirective() argument 56 HashLoc, IncludeTok, FileName, IsAngled, FilenameRange, File, SearchPath, in InclusionDirective()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SuspiciousIncludeCheck.cpp | 26 StringRef FileName, bool IsAngled, 75 bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, in InclusionDirective() argument 98 PP->LookupFile(DiagLoc, GuessedFileName, IsAngled, nullptr, nullptr, in InclusionDirective()
|
/external/llvm-project/clang/lib/Tooling/Inclusions/ |
D | HeaderIncludes.cpp | 343 HeaderIncludes::insert(llvm::StringRef IncludeName, bool IsAngled) const { in insert() 351 if ((IsAngled && StringRef(Inc.Name).startswith("<")) || in insert() 352 (!IsAngled && StringRef(Inc.Name).startswith("\""))) in insert() 355 std::string(llvm::formatv(IsAngled ? "<{0}>" : "\"{0}\"", IncludeName)); in insert() 384 bool IsAngled) const { in remove() 391 if ((IsAngled && StringRef(Inc.Name).startswith("\"")) || in remove() 392 (!IsAngled && StringRef(Inc.Name).startswith("<"))) in remove()
|
/external/llvm-project/clang/include/clang/Tooling/Inclusions/ |
D | HeaderIncludes.h | 73 bool IsAngled) const; 79 tooling::Replacements remove(llvm::StringRef Header, bool IsAngled) const;
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | ParsedASTTests.cpp | 357 const Token &IncludeTok, llvm::StringRef FileName, bool IsAngled, in TEST() 362 FileName(FileName), IsAngled(IsAngled) {} in TEST() 368 bool IsAngled; in TEST() member 377 StringRef FileName, bool IsAngled, in TEST() 381 Includes.emplace_back(SM, HashLoc, IncludeTok, FileName, IsAngled, in TEST() 450 EXPECT_EQ(Inc.IsAngled, Code[FileBeginLocs[I]] == '<'); in TEST()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 57 StringRef FileName, bool IsAngled, in InclusionDirective() argument 64 this->IsAngled = IsAngled; in InclusionDirective() 75 bool IsAngled; member in __anon701ea7170111::InclusionDirectiveCallbacks
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | DeprecatedHeadersCheck.cpp | 29 StringRef FileName, bool IsAngled, 94 bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, in InclusionDirective() argument
|
/external/llvm-project/clang/include/clang/Lex/ |
D | PPCallbacks.h | 125 bool IsAngled, in InclusionDirective() argument 309 virtual void HasInclude(SourceLocation Loc, StringRef FileName, bool IsAngled, 406 StringRef FileName, bool IsAngled, in InclusionDirective() argument 411 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective() 414 Second->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective() 492 void HasInclude(SourceLocation Loc, StringRef FileName, bool IsAngled,
|
D | CodeCompletionHandler.h | 67 virtual void CodeCompleteIncludedFile(llvm::StringRef Dir, bool IsAngled) {} in CodeCompleteIncludedFile() argument
|
/external/clang/lib/Frontend/ |
D | DependencyGraph.cpp | 50 StringRef FileName, bool IsAngled, 71 bool IsAngled, in InclusionDirective() argument
|
D | DependencyFile.cpp | 63 StringRef FileName, bool IsAngled, in InclusionDirective() 189 StringRef FileName, bool IsAngled, 297 bool IsAngled, in InclusionDirective() argument
|
D | PrintPreprocessedOutput.cpp | 127 StringRef FileName, bool IsAngled, 317 bool IsAngled, in InclusionDirective() argument 337 << (IsAngled ? '<' : '"') in InclusionDirective() 339 << (IsAngled ? '>' : '"') in InclusionDirective()
|
/external/llvm-project/clang/lib/Frontend/ |
D | DependencyGraph.cpp | 49 StringRef FileName, bool IsAngled, 72 bool IsAngled, in InclusionDirective() argument
|
D | PrintPreprocessedOutput.cpp | 129 StringRef FileName, bool IsAngled, 329 bool IsAngled, in InclusionDirective() argument 344 << (IsAngled ? '<' : '"') << FileName << (IsAngled ? '>' : '"') in InclusionDirective() 361 << (IsAngled ? '<' : '"') << FileName << (IsAngled ? '>' : '"') in InclusionDirective()
|
/external/clang/include/clang/Lex/ |
D | PPCallbacks.h | 125 bool IsAngled, in InclusionDirective() argument 354 StringRef FileName, bool IsAngled, in InclusionDirective() argument 358 First->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective() 361 Second->InclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, in InclusionDirective()
|
/external/llvm-project/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 37 StringRef FileName, bool IsAngled, in InclusionDirective() argument 45 this->IsAngled = IsAngled; in InclusionDirective() 57 bool IsAngled; member in __anon51328c050111::InclusionDirectiveCallbacks
|
/external/llvm-project/clang/lib/CodeGen/ |
D | MacroPPCallbacks.h | 103 StringRef FileName, bool IsAngled,
|
/external/clang/lib/Lex/ |
D | PreprocessingRecord.cpp | 438 bool IsAngled, in InclusionDirective() argument 468 if (!IsAngled) { in InclusionDirective() 477 = new (*this) clang::InclusionDirective(*this, Kind, FileName, !IsAngled, in InclusionDirective()
|