summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-06-13 14:45:12 +0000
committerDaniel Jasper <djasper@google.com>2016-06-13 14:45:12 +0000
commit1f5d6371fdffd449c9d3139c2736d7023749268f (patch)
tree499ba1250503cef94e9517af8021438b75131035 /clang/unittests/Format/FormatTest.cpp
parentdaae87aa21e119f9f667e5e086018103c4b5977d (diff)
downloadbcm5719-llvm-1f5d6371fdffd449c9d3139c2736d7023749268f.tar.gz
bcm5719-llvm-1f5d6371fdffd449c9d3139c2736d7023749268f.zip
clang-format: Restrict r272537 to function ref qualifiers.
Seems this isn't generally desirable. Before: int const * a; After: int const* a; llvm-svn: 272548
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
-rw-r--r--clang/unittests/Format/FormatTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp
index 3b580b5ae24..218243380c3 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -5755,6 +5755,7 @@ TEST_F(FormatTest, UnderstandsUsesOfStarAndAmp) {
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(\n"
" aaaaaaaaaaaaaaaaaaaaaaaaaaaa, *aaaaaaaaaaaaaaaaaaaaaaaaaaaaa);");
+ verifyGoogleFormat("int const* a = &b;");
verifyGoogleFormat("**outparam = 1;");
verifyGoogleFormat("*outparam = a * b;");
verifyGoogleFormat("int main(int argc, char** argv) {}");
OpenPOWER on IntegriCloud