commit | 0e3fa89f53a3928df12e22503dc5782a31350684 | [log] [tgz] |
---|---|---|
author | Stephen Kelly <steveire@gmail.com> | Wed Mar 17 22:56:39 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 16 12:12:25 2021 -0700 |
tree | 527a02c36326c49dbff923575cc8c45357d042c0 | |
parent | ac1728daa91a9eeb2cd7d9240ee9b97487439afe [diff] |
[AST] Add introspection support for more base nodes Fix the logic of detecting pseudo-virtual getBeginLoc etc on Stmt and Decl subclasses. Adjust the test infrastructure to filter out invalid source locations. This makes the tests more clear about which nodes have which locations. Differential Revision: https://reviews.llvm.org/D99231 GitOrigin-RevId: f347f0e0b869be4f9b97f26663cf8e4eac2c4868