mzeren-vmw added inline comments.
Comment at: cfe/trunk/unittests/Format/FormatTest.cpp:78
EXPECT_EQ(Expected.str(), format(Code, Style));
if (Style.Language == FormatStyle::LK_Cpp) {
// Objective-C++ is a superset of C++, so everything checked for C++
--
klimek added a comment.
Great idea! LG from my side after addressing MyDeveloperDay's comments.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D42034/new/
https://reviews.llvm.org/D42034
___
cfe-commits mailing list
cfe
MyDeveloperDay added inline comments.
Herald added a project: LLVM.
Comment at: cfe/trunk/unittests/Format/FormatTest.cpp:78
EXPECT_EQ(Expected.str(), format(Code, Style));
if (Style.Language == FormatStyle::LK_Cpp) {
// Objective-C++ is a superset of C++, so eve
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329231: [clang-format] In tests, expected code should be
format-stable (authored by mzeren-vmw, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D42
krasimir accepted this revision.
krasimir added a comment.
This revision is now accepted and ready to land.
Thank you!
Repository:
rC Clang
https://reviews.llvm.org/D42034
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.
mzeren-vmw added a comment.
In https://reviews.llvm.org/D42034#1051965, @mzeren-vmw wrote:
> Update other verifyFormat implementations.
Ping?
Repository:
rC Clang
https://reviews.llvm.org/D42034
___
cfe-commits mailing list
cfe-commits@lists.l
mzeren-vmw updated this revision to Diff 140276.
mzeren-vmw added a comment.
Update other verifyFormat implementations.
Repository:
rC Clang
https://reviews.llvm.org/D42034
Files:
unittests/Format/FormatTest.cpp
unittests/Format/FormatTestComments.cpp
unittests/Format/FormatTestJS.cpp
krasimir requested changes to this revision.
krasimir added a comment.
This revision now requires changes to proceed.
Thank you!
If this works, we should apply it to all files in `unittest/Format`.
Repository:
rC Clang
https://reviews.llvm.org/D42034
___
mzeren-vmw updated this revision to Diff 132395.
mzeren-vmw added a comment.
- Reviewers: drop euhlmann, add djasper
- Rebase
- Ping
Repository:
rC Clang
https://reviews.llvm.org/D42034
Files:
unittests/Format/FormatTest.cpp
Index: unittests/Format/FormatTest.cpp
mzeren-vmw created this revision.
mzeren-vmw added reviewers: klimek, krasimir, euhlmann.
Herald added a subscriber: cfe-commits.
Extend the verifyFormat helper function to check that the expected text
is "stable". This provides some protection against bugs where formatting
results are ocilating b
10 matches
Mail list logo