hokein closed this revision. hokein added a comment. I have committed the patch for you, https://reviews.llvm.org/rL340800.
================ Comment at: test/clang-tidy/abseil-no-namespace.cpp:10 +#include "absl/external-file.h" +// CHECK: absl/external-file.h:1:11: warning: namespace 'absl' is reserved +// for implementation of the Abseil library and should not be opened in user ---------------- deannagarcia wrote: > hokein wrote: > > Does the test get passed on the first command `%check_clang_tidy %s > > abseil-no-namespace %t -- -- -I %S/Inputs`? The first command will suppress > > all warning in headers, I think it will fail? > The test passes, and I'm pretty sure it's because this is a CHECK not a > CHECK-MESSAGES Ah, I thought it was `CHECK-MESSAGES`, note that `CHECK` and `CHECK-MESSAGE` don't match multiple lines, the message should be one-line. I have fixed for you. https://reviews.llvm.org/D50580 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits