| /llvm-project-15.0.7/clang/lib/Tooling/Inclusions/ |
| H A D | IncludeStyle.cpp | 11 using clang::tooling::IncludeStyle; 16 void MappingTraits<IncludeStyle::IncludeCategory>::mapping( in mapping() 17 IO &IO, IncludeStyle::IncludeCategory &Category) { in mapping() 24 void ScalarEnumerationTraits<IncludeStyle::IncludeBlocksStyle>::enumeration( in enumeration() 25 IO &IO, IncludeStyle::IncludeBlocksStyle &Value) { in enumeration() 26 IO.enumCase(Value, "Preserve", IncludeStyle::IBS_Preserve); in enumeration() 27 IO.enumCase(Value, "Merge", IncludeStyle::IBS_Merge); in enumeration() 28 IO.enumCase(Value, "Regroup", IncludeStyle::IBS_Regroup); in enumeration()
|
| H A D | HeaderIncludes.cpp | 41 StringRef FileName, StringRef Code, const IncludeStyle &Style, in getOffsetAfterTokenSequence() 84 const IncludeStyle &Style) { in getOffsetAfterHeaderGuardsAndComments() 160 const IncludeStyle &Style) { in getMaxHeaderInsertionOffset() 191 IncludeCategoryManager::IncludeCategoryManager(const IncludeStyle &Style, in IncludeCategoryManager() 270 const IncludeStyle &Style) in HeaderIncludes()
|
| H A D | CMakeLists.txt | 5 IncludeStyle.cpp
|
| /llvm-project-15.0.7/clang/unittests/Format/ |
| H A D | SortIncludesTest.cpp | 53 tooling::IncludeStyle &Style = FmtStyle.IncludeStyle; 89 FmtStyle.IncludeStyle.IncludeBlocks = tooling::IncludeStyle::IBS_Regroup; in TEST_F() 90 FmtStyle.IncludeStyle.IncludeCategories = { in TEST_F() 188 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Merge; in TEST_F() 198 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Regroup; in TEST_F() 366 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Merge; in TEST_F() 386 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Merge; in TEST_F() 396 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Regroup; in TEST_F() 604 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Merge; in TEST_F() 836 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Merge; in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | IncludeStyle.h | 20 struct IncludeStyle { struct 159 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::IncludeStyle::IncludeCategory) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument 165 struct MappingTraits<clang::tooling::IncludeStyle::IncludeCategory> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 167 clang::tooling::IncludeStyle::IncludeCategory &Category); in LLVM_YAML_IS_SEQUENCE_VECTOR() 172 clang::tooling::IncludeStyle::IncludeBlocksStyle> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 174 enumeration(IO &IO, clang::tooling::IncludeStyle::IncludeBlocksStyle &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
| H A D | HeaderIncludes.h | 29 IncludeCategoryManager(const IncludeStyle &Style, StringRef FileName); 41 const IncludeStyle Style; 52 const IncludeStyle &Style);
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | IncludeSorter.h | 26 enum IncludeStyle { IS_LLVM = 0, IS_Google = 1, IS_Google_ObjC }; enum 41 StringRef FileName, IncludeStyle Style); 55 const IncludeStyle Style; 69 template <> struct OptionEnumMapping<utils::IncludeSorter::IncludeStyle> { 70 static ArrayRef<std::pair<utils::IncludeSorter::IncludeStyle, StringRef>>
|
| H A D | IncludeSorter.cpp | 29 StringRef makeCanonicalName(StringRef Str, IncludeSorter::IncludeStyle Style) { in makeCanonicalName() 68 bool IsAngled, IncludeSorter::IncludeStyle Style) { in determineIncludeKind() 107 IncludeSorter::IncludeStyle Style) { in compareHeaders() 108 if (Style == IncludeSorter::IncludeStyle::IS_Google_ObjC) { in compareHeaders() 127 IncludeStyle Style) in IncludeSorter() 155 if (Style == IncludeStyle::IS_Google_ObjC) { in createIncludeInsertion() 227 llvm::ArrayRef<std::pair<utils::IncludeSorter::IncludeStyle, StringRef>> 228 OptionEnumMapping<utils::IncludeSorter::IncludeStyle>::getEnumMapping() { in getEnumMapping() 229 static constexpr std::pair<utils::IncludeSorter::IncludeStyle, StringRef> in getEnumMapping()
|
| H A D | IncludeInserter.h | 62 explicit IncludeInserter(IncludeSorter::IncludeStyle Style, 85 IncludeSorter::IncludeStyle getStyle() const { return Style; } in getStyle() 96 const IncludeSorter::IncludeStyle Style;
|
| H A D | IncludeInserter.cpp | 39 IncludeInserter::IncludeInserter(IncludeSorter::IncludeStyle Style, in IncludeInserter()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | HeaderIncludesTest.cpp | 44 IncludeStyle Style = format::getLLVMStyle().IncludeStyle; 112 .IncludeStyle; in TEST_F() 145 .IncludeStyle; in TEST_F() 226 .IncludeStyle; in TEST_F() 516 .IncludeStyle; in TEST_F()
|
| /llvm-project-15.0.7/clang/include/clang/Format/ |
| H A D | Format.h | 2231 tooling::IncludeStyle IncludeStyle; member 3905 IncludeStyle.IncludeBlocks == R.IncludeStyle.IncludeBlocks && 3906 IncludeStyle.IncludeCategories == R.IncludeStyle.IncludeCategories && 3907 IncludeStyle.IncludeIsMainRegex == 3908 R.IncludeStyle.IncludeIsMainRegex && 3909 IncludeStyle.IncludeIsMainSourceRegex == 3910 R.IncludeStyle.IncludeIsMainSourceRegex &&
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/Tooling/Inclusions/ |
| H A D | BUILD.gn | 13 "IncludeStyle.cpp",
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | Format.cpp | 1258 LLVMStyle.IncludeStyle.IncludeCategories = { in getLLVMStyle() 1263 LLVMStyle.IncludeStyle.IncludeBlocks = tooling::IncludeStyle::IBS_Preserve; in getLLVMStyle() 1381 GoogleStyle.IncludeStyle.IncludeBlocks = tooling::IncludeStyle::IBS_Regroup; in getGoogleStyle() 1485 GoogleStyle.IncludeStyle.IncludeBlocks = in getGoogleStyle() 1486 tooling::IncludeStyle::IBS_Preserve; in getGoogleStyle() 1518 ChromiumStyle.IncludeStyle.IncludeBlocks = in getChromiumStyle() 1519 tooling::IncludeStyle::IBS_Preserve; in getChromiumStyle() 2721 Style.IncludeStyle.IncludeBlocks == tooling::IncludeStyle::IBS_Preserve) { in sortCppIncludes() 2729 if (Style.IncludeStyle.IncludeBlocks == in sortCppIncludes() 2828 (Style.IncludeStyle.IncludeBlocks == tooling::IncludeStyle::IBS_Merge || in sortCppIncludes() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/ |
| H A D | uniqueptr-reset-release.rst | 21 .. option:: IncludeStyle
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/abseil/ |
| H A D | string-find-startswith.rst | 35 .. option:: IncludeStyle
|
| H A D | string-find-str-contains.rst | 44 .. option:: IncludeStyle
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
| H A D | pro-bounds-constant-array-index.rst | 24 .. option:: IncludeStyle
|
| H A D | init-variables.rst | 58 .. option:: IncludeStyle
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
| H A D | make-shared.rst | 42 .. option:: IncludeStyle
|
| H A D | make-unique.rst | 42 .. option:: IncludeStyle
|
| H A D | replace-auto-ptr.rst | 76 .. option:: IncludeStyle
|
| H A D | pass-by-value.rst | 158 .. option:: IncludeStyle
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/performance/ |
| H A D | unnecessary-value-param.rst | 60 .. option:: IncludeStyle
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | Headers.h | 214 Inserter(FileName, Code, Style.IncludeStyle) {} in IncludeInserter()
|