Home
last modified time | relevance | path

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

/external/clang/include/clang/Format/
DFormat.h409 std::vector<std::string> ForEachMacros; member
476 ForEachMacros == R.ForEachMacros;
/external/clang/lib/Format/
DFormat.cpp255 IO.mapOptional("ForEachMacros", Style.ForEachMacros); in mapping()
355 LLVMStyle.ForEachMacros.push_back("foreach"); in getLLVMStyle()
356 LLVMStyle.ForEachMacros.push_back("Q_FOREACH"); in getLLVMStyle()
357 LLVMStyle.ForEachMacros.push_back("BOOST_FOREACH"); in getLLVMStyle()
609 for (const std::string &ForEachMacro : Style.ForEachMacros) in FormatTokenLexer()
610 ForEachMacros.push_back(&IdentTable.get(ForEachMacro)); in FormatTokenLexer()
611 std::sort(ForEachMacros.begin(), ForEachMacros.end()); in FormatTokenLexer()
1107 std::binary_search(ForEachMacros.begin(), ForEachMacros.end(), in getNextToken()
1129 SmallVector<IdentifierInfo *, 8> ForEachMacros; member in clang::format::__anonf8d6a77d0111::FormatTokenLexer
/external/clang/unittests/Format/
DFormatTest.cpp9053 Style.ForEachMacros.clear(); in TEST_F()
9056 CHECK_PARSE("ForEachMacros: [BOOST_FOREACH]", ForEachMacros, BoostForeach); in TEST_F()
9060 CHECK_PARSE("ForEachMacros: [BOOST_FOREACH, Q_FOREACH]", ForEachMacros, in TEST_F()
/external/clang/docs/
DClangFormatStyleOptions.rst328 **ForEachMacros** (``std::vector<std::string>``)