Home
last modified time | relevance | path

Searched refs:IncludeStyle (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Inclusions/
H A DIncludeStyle.cpp12 using clang::tooling::IncludeStyle;
17 void MappingTraits<IncludeStyle::IncludeCategory>::mapping( in mapping()
18 IO &IO, IncludeStyle::IncludeCategory &Category) { in mapping()
23 void ScalarEnumerationTraits<IncludeStyle::IncludeBlocksStyle>::enumeration( in enumeration()
24 IO &IO, IncludeStyle::IncludeBlocksStyle &Value) { in enumeration()
25 IO.enumCase(Value, "Preserve", IncludeStyle::IBS_Preserve); in enumeration()
26 IO.enumCase(Value, "Merge", IncludeStyle::IBS_Merge); in enumeration()
27 IO.enumCase(Value, "Regroup", IncludeStyle::IBS_Regroup); in enumeration()
H A DHeaderIncludes.cpp39 StringRef FileName, StringRef Code, const IncludeStyle &Style, in getOffsetAfterTokenSequence()
77 const IncludeStyle &Style) { in getOffsetAfterHeaderGuardsAndComments()
131 const IncludeStyle &Style) { in getMaxHeaderInsertionOffset()
152 IncludeCategoryManager::IncludeCategoryManager(const IncludeStyle &Style, in IncludeCategoryManager()
193 const IncludeStyle &Style) in HeaderIncludes()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Inclusions/
H A DIncludeStyle.h21 struct IncludeStyle { struct
118 LLVM_YAML_IS_SEQUENCE_VECTOR(clang::tooling::IncludeStyle::IncludeCategory) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument
124 struct MappingTraits<clang::tooling::IncludeStyle::IncludeCategory> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
126 clang::tooling::IncludeStyle::IncludeCategory &Category); in LLVM_YAML_IS_SEQUENCE_VECTOR()
131 clang::tooling::IncludeStyle::IncludeBlocksStyle> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
133 enumeration(IO &IO, clang::tooling::IncludeStyle::IncludeBlocksStyle &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
H A DHeaderIncludes.h29 IncludeCategoryManager(const IncludeStyle &Style, StringRef FileName);
40 const IncludeStyle Style;
54 const IncludeStyle &Style);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Format/
H A DFormat.h1063 tooling::IncludeStyle IncludeStyle; member
1761 IncludeStyle.IncludeBlocks == R.IncludeStyle.IncludeBlocks &&
1762 IncludeStyle.IncludeCategories == R.IncludeStyle.IncludeCategories &&
/freebsd-12.1/contrib/llvm/tools/clang/lib/Format/
H A DFormat.cpp409 IO.mapOptional("IncludeBlocks", Style.IncludeStyle.IncludeBlocks); in mapping()
667 LLVMStyle.IncludeStyle.IncludeCategories = { in getLLVMStyle()
671 LLVMStyle.IncludeStyle.IncludeIsMainRegex = "(Test)?$"; in getLLVMStyle()
672 LLVMStyle.IncludeStyle.IncludeBlocks = tooling::IncludeStyle::IBS_Preserve; in getLLVMStyle()
744 GoogleStyle.IncludeStyle.IncludeCategories = { in getGoogleStyle()
1731 Style.IncludeStyle.IncludeBlocks == tooling::IncludeStyle::IBS_Preserve) in sortCppIncludes()
1738 if (Style.IncludeStyle.IncludeBlocks == in sortCppIncludes()
1739 tooling::IncludeStyle::IBS_Regroup && in sortCppIncludes()
1802 (Style.IncludeStyle.IncludeBlocks == tooling::IncludeStyle::IBS_Merge || in sortCppIncludes()
1803 Style.IncludeStyle.IncludeBlocks == in sortCppIncludes()
[all …]
/freebsd-12.1/lib/clang/libclang/
H A DMakefile633 SRCS_EXT+= Tooling/Inclusions/IncludeStyle.cpp