Home
last modified time | relevance | path

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

/external/clang/include/clang/Format/
DFormat.h357 std::vector<std::string> ForEachMacros; member
416 ForEachMacros == R.ForEachMacros;
/external/clang/lib/Format/
DFormat.cpp234 IO.mapOptional("ForEachMacros", Style.ForEachMacros); in mapping()
329 LLVMStyle.ForEachMacros.push_back("foreach"); in getLLVMStyle()
330 LLVMStyle.ForEachMacros.push_back("Q_FOREACH"); in getLLVMStyle()
331 LLVMStyle.ForEachMacros.push_back("BOOST_FOREACH"); in getLLVMStyle()
1276 for (const std::string &ForEachMacro : Style.ForEachMacros) in FormatTokenLexer()
1277 ForEachMacros.push_back(&IdentTable.get(ForEachMacro)); in FormatTokenLexer()
1278 std::sort(ForEachMacros.begin(), ForEachMacros.end()); in FormatTokenLexer()
1625 std::binary_search(ForEachMacros.begin(), ForEachMacros.end(), in getNextToken()
1645 SmallVector<IdentifierInfo *, 8> ForEachMacros; member in clang::format::__anoneabb2b410111::FormatTokenLexer
/external/clang/unittests/Format/
DFormatTest.cpp8221 Style.ForEachMacros.clear(); in TEST_F()
8224 CHECK_PARSE("ForEachMacros: [BOOST_FOREACH]", ForEachMacros, BoostForeach); in TEST_F()
8228 CHECK_PARSE("ForEachMacros: [BOOST_FOREACH, Q_FOREACH]", ForEachMacros, in TEST_F()
/external/clang/docs/
DClangFormatStyleOptions.rst233 **ForEachMacros** (``std::vector<std::string>``)