Home
last modified time | relevance | path

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

/external/clang/include/clang/Format/
DFormat.h459 enum LanguageKind { enum
476 LanguageKind Language;
723 FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language);
727 FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language);
750 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language,
864 inline StringRef getLanguageName(FormatStyle::LanguageKind Language) { in getLanguageName()
/external/clang/unittests/Format/
DCleanupTest.cpp373 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
398 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
451 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
472 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
509 Style = format::getGoogleStyle(format::FormatStyle::LanguageKind::LK_Cpp); in TEST_F()
/external/clang/lib/Format/
DFormat.cpp51 template <> struct ScalarEnumerationTraits<FormatStyle::LanguageKind> {
52 static void enumeration(IO &IO, FormatStyle::LanguageKind &Value) { in enumeration()
222 FormatStyle::LanguageKind OldLanguage = Style.Language; in mapping()
223 FormatStyle::LanguageKind Language = in mapping()
573 FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) { in getGoogleStyle()
629 FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language) { in getChromiumStyle()
711 bool getPredefinedStyle(StringRef Name, FormatStyle::LanguageKind Language, in getPredefinedStyle()
737 FormatStyle::LanguageKind Language = Style->Language; in parseConfiguration()
1389 if (Style.Language == FormatStyle::LanguageKind::LK_JavaScript) in sortIncludes()
1497 if (Style.Language != FormatStyle::LanguageKind::LK_Cpp) in fixCppIncludeInsertions()
[all …]
/external/clang/docs/
DClangFormatStyleOptions.rst567 **Language** (``LanguageKind``)