This is an archive of the discontinued LLVM Phabricator instance.

[ASTMatchers] Introduce a matcher for `ObjCIvarExpr`, support getting it's declaration
ClosedPublic

Authored by george.karpenkov on Jul 23 2018, 3:21 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

The docs do not look correct to me. For instance, I don't see any changes to the hasDeclaration() documentation for the newly supported type. There also appear to be a bunch of unrelated changes in the generated HTML.

clang/docs/LibASTMatchersReference.html
3292–3294 ↗(On Diff #156895)

I thought these changes already went in as a separate commit? These are unrelated to the patch.

clang/include/clang/ASTMatchers/ASTMatchersInternal.h
44 ↗(On Diff #156895)

This list should remain sorted alphabetically.

clang/include/clang/ASTMatchers/ASTMatchersInternal.h
44 ↗(On Diff #156895)

but it is?

aaron.ballman accepted this revision.Jul 27 2018, 9:48 AM

LGTM!

clang/include/clang/ASTMatchers/ASTMatchersInternal.h
44 ↗(On Diff #156895)

That's really odd. For me, the patch view shows:

================
Comment at: clang/include/clang/ASTMatchers/ASTMatchersInternal.h:44
 #include "clang/AST/Expr.h"
+#include "clang/AST/ExprObjC.h"
 #include "clang/AST/ExprCXX.h"
----------------
aaron.ballman wrote:
> This list should remain sorted alphabetically.
but it is?

but the Phabricator view shows it in the correct order.

This revision is now accepted and ready to land.Jul 27 2018, 9:48 AM
This revision was automatically updated to reflect the committed changes.