[PATCH] D42185: [ASTMatcher] Add isScoped matcher for enumDecl.

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 08:32:45 PST 2018


aaron.ballman requested changes to this revision.
aaron.ballman added a comment.
This revision now requires changes to proceed.

This needs to be added to the dynamic matcher registry and also should not be commit until the documentation is generated for it.



================
Comment at: unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp:2035
+                      enumDecl(isScoped())));
+  EXPECT_TRUE(notMatches("enum X {};;",
+                      enumDecl(isScoped())));
----------------
Spurious semi colon.


Repository:
  rC Clang

https://reviews.llvm.org/D42185





More information about the cfe-commits mailing list