/external/llvm-project/clang/lib/Tooling/Inclusions/ |
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()
|
D | HeaderIncludes.cpp | 41 StringRef FileName, StringRef Code, const IncludeStyle &Style, in getOffsetAfterTokenSequence() 83 const IncludeStyle &Style) { in getOffsetAfterHeaderGuardsAndComments() 159 const IncludeStyle &Style) { in getMaxHeaderInsertionOffset() 190 IncludeCategoryManager::IncludeCategoryManager(const IncludeStyle &Style, in IncludeCategoryManager() 269 const IncludeStyle &Style) in HeaderIncludes()
|
D | CMakeLists.txt | 5 IncludeStyle.cpp
|
/external/llvm-project/clang/unittests/Format/ |
D | SortIncludesTest.cpp | 52 tooling::IncludeStyle &Style = FmtStyle.IncludeStyle; 73 FmtStyle.IncludeStyle.IncludeBlocks = tooling::IncludeStyle::IBS_Regroup; in TEST_F() 74 FmtStyle.IncludeStyle.IncludeCategories = { in TEST_F() 172 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Merge; in TEST_F() 182 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Regroup; in TEST_F() 329 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Merge; in TEST_F() 349 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Merge; in TEST_F() 359 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Regroup; in TEST_F() 402 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Regroup; in TEST_F() 553 Style.IncludeBlocks = tooling::IncludeStyle::IBS_Merge; in TEST_F() [all …]
|
/external/llvm-project/clang/include/clang/Tooling/Inclusions/ |
D | IncludeStyle.h | 20 struct IncludeStyle { struct 156 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::IncludeStyle::IncludeCategory) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument 162 struct MappingTraits<clang::tooling::IncludeStyle::IncludeCategory> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 164 clang::tooling::IncludeStyle::IncludeCategory &Category); in LLVM_YAML_IS_SEQUENCE_VECTOR() 169 clang::tooling::IncludeStyle::IncludeBlocksStyle> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 171 enumeration(IO &IO, clang::tooling::IncludeStyle::IncludeBlocksStyle &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
D | HeaderIncludes.h | 28 IncludeCategoryManager(const IncludeStyle &Style, StringRef FileName); 40 const IncludeStyle Style; 51 const IncludeStyle &Style);
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
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>>
|
D | IncludeSorter.cpp | 29 StringRef MakeCanonicalName(StringRef Str, IncludeSorter::IncludeStyle Style) { in MakeCanonicalName() 68 bool IsAngled, IncludeSorter::IncludeStyle Style) { in DetermineIncludeKind() 108 IncludeSorter::IncludeStyle Style) { in compareHeaders() 109 if (Style == IncludeSorter::IncludeStyle::IS_Google_ObjC) { in compareHeaders() 128 IncludeStyle Style) in IncludeSorter() 156 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()
|
D | IncludeInserter.h | 62 explicit IncludeInserter(IncludeSorter::IncludeStyle Style); 84 IncludeSorter::IncludeStyle getStyle() const { return Style; } in getStyle() 95 const IncludeSorter::IncludeStyle Style;
|
D | IncludeInserter.cpp | 39 IncludeInserter::IncludeInserter(IncludeSorter::IncludeStyle Style) in IncludeInserter()
|
/external/llvm-project/clang/include/clang/Format/ |
D | Format.h | 1473 tooling::IncludeStyle IncludeStyle; member 2488 IncludeStyle.IncludeBlocks == R.IncludeStyle.IncludeBlocks && 2489 IncludeStyle.IncludeCategories == R.IncludeStyle.IncludeCategories && 2490 IncludeStyle.IncludeIsMainRegex == 2491 R.IncludeStyle.IncludeIsMainRegex && 2492 IncludeStyle.IncludeIsMainSourceRegex == 2493 R.IncludeStyle.IncludeIsMainSourceRegex &&
|
/external/llvm-project/clang/unittests/Tooling/ |
D | HeaderIncludesTest.cpp | 44 IncludeStyle Style = format::getLLVMStyle().IncludeStyle; 103 .IncludeStyle; in TEST_F() 136 .IncludeStyle; in TEST_F() 217 .IncludeStyle; in TEST_F() 507 .IncludeStyle; in TEST_F()
|
/external/llvm-project/clang/lib/Format/ |
D | Format.cpp | 552 IO.mapOptional("IncludeBlocks", Style.IncludeStyle.IncludeBlocks); in mapping() 553 IO.mapOptional("IncludeCategories", Style.IncludeStyle.IncludeCategories); in mapping() 554 IO.mapOptional("IncludeIsMainRegex", Style.IncludeStyle.IncludeIsMainRegex); in mapping() 556 Style.IncludeStyle.IncludeIsMainSourceRegex); in mapping() 918 LLVMStyle.IncludeStyle.IncludeCategories = { in getLLVMStyle() 922 LLVMStyle.IncludeStyle.IncludeIsMainRegex = "(Test)?$"; in getLLVMStyle() 923 LLVMStyle.IncludeStyle.IncludeBlocks = tooling::IncludeStyle::IBS_Preserve; in getLLVMStyle() 1019 GoogleStyle.IncludeStyle.IncludeCategories = {{"^<ext/.*\\.h>", 2, 0, false}, in getGoogleStyle() 1023 GoogleStyle.IncludeStyle.IncludeIsMainRegex = "([-_](test|unittest))?$"; in getGoogleStyle() 1024 GoogleStyle.IncludeStyle.IncludeBlocks = tooling::IncludeStyle::IBS_Regroup; in getGoogleStyle() [all …]
|
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Tooling/Inclusions/ |
D | BUILD.gn | 13 "IncludeStyle.cpp",
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | performance-move-constructor-init.rst | 15 .. option:: IncludeStyle
|
D | abseil-string-find-startswith.rst | 33 .. option:: IncludeStyle
|
D | cppcoreguidelines-pro-bounds-constant-array-index.rst | 22 .. option:: IncludeStyle
|
D | cppcoreguidelines-init-variables.rst | 43 .. option:: IncludeStyle
|
D | modernize-make-shared.rst | 42 .. option:: IncludeStyle
|
D | abseil-string-find-str-contains.rst | 44 .. option:: IncludeStyle
|
D | modernize-make-unique.rst | 42 .. option:: IncludeStyle
|
D | performance-unnecessary-value-param.rst | 60 .. option:: IncludeStyle
|
D | modernize-replace-auto-ptr.rst | 76 .. option:: IncludeStyle
|
D | modernize-pass-by-value.rst | 158 .. option:: IncludeStyle
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Headers.h | 157 Inserter(FileName, Code, Style.IncludeStyle) {} in IncludeInserter()
|