llvm-project/clang/test/AST
Eric Fiselier 5cdc2cda28 [AST] Store "UsesADL" information in CallExpr.
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
2018-12-12 21:50:55 +00:00
..
Inputs [clang] Do not read from 'test/SemaCXX/Inputs' inside 'test/AST' 2018-12-03 11:26:35 +00:00
ast-dump-arm-attr.c
ast-dump-array.cpp Extend test for DependentSizedArrayType 2018-12-04 09:53:36 +00:00
ast-dump-attr.cpp
ast-dump-attr.m
ast-dump-c-attr.c
ast-dump-color.cpp
ast-dump-comment.cpp
ast-dump-decl-stmts.cpp
ast-dump-decl.c
ast-dump-decl.cpp Re-order content of template parameter dumps 2018-12-10 21:03:00 +00:00
ast-dump-decl.m Add more expected content to match in test 2018-12-06 23:23:10 +00:00
ast-dump-decl.mm
ast-dump-expr.c Add an explicit triple to this test to fix failing test bots. 2018-12-10 19:18:11 +00:00
ast-dump-expr.cpp [AST] Store "UsesADL" information in CallExpr. 2018-12-12 21:50:55 +00:00
ast-dump-funcs.cpp
ast-dump-invalid.cpp
ast-dump-lookups.cpp
ast-dump-msp430-attr.c
ast-dump-pipe.cl
ast-dump-record-definition-data.cpp Adding tests for -ast-dump; NFC. 2018-12-04 21:50:08 +00:00
ast-dump-records.c
ast-dump-records.cpp Add tests for dumping base classes; NFC. 2018-12-04 21:49:24 +00:00
ast-dump-special-member-functions.cpp Adding tests for -ast-dump; NFC. 2018-12-04 21:50:08 +00:00
ast-dump-stmt.c Adding an AST dump test for statement expressions; NFC. 2018-12-07 17:06:40 +00:00
ast-dump-stmt.cpp Revert "Change InitListExpr dump to label and pointer" 2018-12-10 21:20:05 +00:00
ast-dump-stmt.m
ast-dump-template-decls.cpp Adding tests for -ast-dump; NFC. 2018-12-05 18:53:57 +00:00
ast-dump-templates.cpp
ast-dump-wchar.cpp
ast-print-attr.c
ast-print-bool.c
ast-print-char-literal.cpp
ast-print-enum-decl.c
ast-print-objectivec.m
ast-print-out-of-line-func.cpp
ast-print-pragmas-xfail.cpp
ast-print-pragmas.cpp
ast-print-record-decl.c
attr-print-emit.cpp
attr-target-ast.c
auto-pragma.cpp
bool-type.m
builtins-arm-strex-rettype.c
c-casts.c
category-attribute.m
coroutine-source-location-crash.cpp [clang] Do not read from 'test/SemaCXX/Inputs' inside 'test/AST' 2018-12-03 11:26:35 +00:00
dump.cpp Re-order content in OMPDeclareReductionDecl dump 2018-12-10 20:53:39 +00:00
finally-msvc.m
fixed_point.c
fixed_point_to_string.c
float16.cpp
foreachtemplatized.mm
implicit-cast-dump.c
multistep-explicit-cast.c
multistep-explicit-cast.cpp
objc-default-ctor-init.mm
pragma-attribute-cxx-subject-match-rules.cpp
pragma-attribute-objc-subject-match-rules.m
property-atomic-bool.m
rdr6094103-unordered-compare-promote.c
sourceranges.cpp
template-implicit-vars.cpp
variadic-promotion.c