[PATCH] D50580: [clang-tidy] Abseil: no namespace check
Haojian Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 23 01:19:01 PDT 2018
hokein accepted this revision.
hokein added a comment.
This revision is now accepted and ready to land.
Looks good.
================
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
----------------
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?
https://reviews.llvm.org/D50580
More information about the cfe-commits
mailing list