Home
last modified time | relevance | path

Searched refs:FormattedReplaces (Results 1 – 2 of 2) sorted by relevance

/external/clang/unittests/Format/
DCleanupTest.cpp271 auto FormattedReplaces = formatReplacements(Code, *CleanReplaces, Style); in formatAndApply() local
272 EXPECT_TRUE(static_cast<bool>(FormattedReplaces)) in formatAndApply()
273 << llvm::toString(FormattedReplaces.takeError()) << "\n"; in formatAndApply()
274 auto Result = applyAllReplacements(Code, *FormattedReplaces); in formatAndApply()
DFormatTest.cpp11556 auto FormattedReplaces = formatReplacements(Code, Replaces, Style); in TEST_F() local
11557 EXPECT_TRUE(static_cast<bool>(FormattedReplaces)) in TEST_F()
11558 << llvm::toString(FormattedReplaces.takeError()) << "\n"; in TEST_F()
11559 auto Result = applyAllReplacements(Code, *FormattedReplaces); in TEST_F()
11585 auto FormattedReplaces = formatReplacements(Code, Replaces, Style); in TEST_F() local
11586 EXPECT_TRUE(static_cast<bool>(FormattedReplaces)) in TEST_F()
11587 << llvm::toString(FormattedReplaces.takeError()) << "\n"; in TEST_F()
11588 auto Result = applyAllReplacements(Code, *FormattedReplaces); in TEST_F()