summaryrefslogtreecommitdiffstats
path: root/clang/test/AST/ast-dump-expr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Mark the lambda function pointer conversion operator as noexcept.Aaron Ballman2019-01-211-7/+7
| | | | | | This implements CWG DR 1722 and fixes PR40309. Patch by Ignat Loskutov. llvm-svn: 351750
* Added test cases for dumping variadic-like functions; NFC.Aaron Ballman2019-01-161-0/+18
| | | | llvm-svn: 351355
* [AST] Store "UsesADL" information in CallExpr.Eric Fiselier2018-12-121-0/+43
| | | | | | | | | | | | | | | | | | | | | Summary: Currently the Clang AST doesn't store information about how the callee of a CallExpr was found. Specifically if it was found using ADL. However, this information is invaluable to tooling. Consider a tool which renames usages of a function. If the originally CallExpr was formed using ADL, then the tooling may need to additionally qualify the replacement. Without information about how the callee was found, the tooling is left scratching it's head. Additionally, we want to be able to match ADL calls as quickly as possible, which means avoiding computing the answer on the fly. This patch changes `CallExpr` to store whether it's callee was found using ADL. It does not change the size of any AST nodes. Reviewers: fowles, rsmith, klimek, shafik Reviewed By: rsmith Subscribers: aaron.ballman, riccibruno, calabrese, titus, cfe-commits Differential Revision: https://reviews.llvm.org/D55534 llvm-svn: 348977
* Adding tests for -ast-dump; NFC.Aaron Ballman2018-12-111-0/+510
This adds tests for expressions in C++. llvm-svn: 348860
OpenPOWER on IntegriCloud