diff options
author | Artem Dergachev <artem.dergachev@gmail.com> | 2018-02-10 02:55:08 +0000 |
---|---|---|
committer | Artem Dergachev <artem.dergachev@gmail.com> | 2018-02-10 02:55:08 +0000 |
commit | afb158c2071b2d3a68f1a945d8662911cf51b711 (patch) | |
tree | 467ff1265c75987e3fb6c51b2086a6a42f21c370 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9bfdb770cc7f513546468e9a4867fa9fdce6caaf (diff) | |
download | bcm5719-llvm-afb158c2071b2d3a68f1a945d8662911cf51b711.tar.gz bcm5719-llvm-afb158c2071b2d3a68f1a945d8662911cf51b711.zip |
[analyzer] NFC: Use CFG construction contexts instead of homemade lookahead.
The analyzer was relying on peeking the next CFG element during analysis
whenever it was trying to figure out what object is being constructed
by a given constructor. This information is now available in the current CFG
element in all cases that were previously supported by the analyzer,
so no complicated lookahead is necessary anymore.
No functional change intended - the context in the CFG should for now be
available if and only if it was previously discoverable via CFG lookahead.
Differential Revision: https://reviews.llvm.org/D42721
llvm-svn: 324800
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions