This is an archive of the discontinued LLVM Phabricator instance.

Add cxxStdInitializerListExpr AST matcher
ClosedPublic

Authored by kuhar on May 3 2017, 9:15 AM.

Details

Summary

This adds a new ASTMatcher for CXXStdInitializerListExprs that matches C++ initializer list expressions.

The primary motivation is to use it to fix PR32896 (review here D32767).

Diff Detail

Repository
rL LLVM

Event Timeline

kuhar created this revision.May 3 2017, 9:15 AM
alexfh edited edge metadata.May 3 2017, 9:45 AM

Please add a test.

Please run docs/tools/dump_ast_matchers.py to update the docs.

kuhar updated this revision to Diff 97700.May 3 2017, 11:52 AM

I regenerated docs and added unit tests.

Thanks for help.

This revision is now accepted and ready to land.May 3 2017, 12:00 PM
This revision was automatically updated to reflect the committed changes.