diff options
| author | Daniel Jasper <djasper@google.com> | 2013-11-29 08:51:56 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-11-29 08:51:56 +0000 |
| commit | dbb3d042e052d26f9973dbfade318b9f2fe2ac40 (patch) | |
| tree | 5d978aa734b59b70496ef05d65dd9aac79f0c4a5 /unittests/Format/FormatTest.cpp | |
| parent | 07d0d1ada1867dd9e332649f2ae69401d30bf667 (diff) | |
| download | clang-dbb3d042e052d26f9973dbfade318b9f2fe2ac40.tar.gz clang-dbb3d042e052d26f9973dbfade318b9f2fe2ac40.tar.bz2 clang-dbb3d042e052d26f9973dbfade318b9f2fe2ac40.tar.xz | |
clang-format: Correctly handle Qt's Q_SLOTS.
This should fix llvm.org/PR17241. Maybe it sticks this time :-).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195953 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
| -rw-r--r-- | unittests/Format/FormatTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index e1960d290f..ccad1d4b00 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -1540,6 +1540,8 @@ TEST_F(FormatTest, UnderstandsAccessSpecifiers) { verifyFormat("class A {\n" "public slots:\n" " void f() {}\n" + "public Q_SLOTS:\n" + " void f() {}\n" "};"); } |
