Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/Format/
H A DFormat.h2570 enum LanguageKind : int8_t { enum
2606 LanguageKind Language;
2887 LanguageKind Language;
3995 llvm::Optional<FormatStyle> GetLanguageStyle(LanguageKind Language) const;
4005 typedef std::map<FormatStyle::LanguageKind, FormatStyle> MapType;
4040 FormatStyle::LanguageKind Language = FormatStyle::LanguageKind::LK_Cpp);
4046 FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language);
4050 FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language);
4066 FormatStyle getMicrosoftStyle(FormatStyle::LanguageKind Language);
4077 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language,
[all …]
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DHeaderIncludesTest.cpp111 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp) in TEST_F()
144 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp) in TEST_F()
225 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp) in TEST_F()
515 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp) in TEST_F()
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp60 template <> struct ScalarEnumerationTraits<FormatStyle::LanguageKind> {
61 static void enumeration(IO &IO, FormatStyle::LanguageKind &Value) { in enumeration()
614 FormatStyle::LanguageKind OldLanguage = Style.Language; in mapping()
615 FormatStyle::LanguageKind Language = in mapping()
1175 FormatStyle getLLVMStyle(FormatStyle::LanguageKind Language) { in getLLVMStyle()
1358 FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) { in getGoogleStyle()
1498 FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language) { in getChromiumStyle()
1622 FormatStyle getMicrosoftStyle(FormatStyle::LanguageKind Language) { in getMicrosoftStyle()
1726 FormatStyle::LanguageKind Language = Style->Language; in parseConfiguration()
3055 if (Style.Language == FormatStyle::LanguageKind::LK_JavaScript) in sortIncludes()
[all …]
H A DContinuationIndenter.cpp179 FormatStyle::LanguageKind Language) { in getCanonicalRawStringDelimiter()
/llvm-project-15.0.7/clang/unittests/Format/
H A DCleanupTest.cpp428 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
465 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
H A DFormatTest.cpp24049 FormatStyle Style = getChromiumStyle(FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
24056 FormatStyle Style = getMicrosoftStyle(FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
/llvm-project-15.0.7/clang/docs/
H A DClangFormatStyleOptions.rst3162 **Language** (``LanguageKind``) :versionbadge:`clang-format 3.5`