summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/MacroInfo.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-04-23 17:36:48 +0000
committerPhilip Reames <listmail@philipreames.com>2015-04-23 17:36:48 +0000
commit5461d45abf940b51cfe97eaa0a7cf274d43cb394 (patch)
tree845d9fad452f4df7f391da8abd6e16db6633b136 /clang/lib/Lex/MacroInfo.cpp
parent745615ca0059ac89b4871d8426f57a9e6f283fa7 (diff)
downloadbcm5719-llvm-5461d45abf940b51cfe97eaa0a7cf274d43cb394.tar.gz
bcm5719-llvm-5461d45abf940b51cfe97eaa0a7cf274d43cb394.zip
Move Value.isDereferenceablePointer to ValueTracking [NFC]
Move isDereferenceablePointer function to Analysis. This function recursively tracks dereferencability over a chain of values like other functions in ValueTracking. This refactoring is motivated by further changes to support dereferenceable_or_null attribute (http://reviews.llvm.org/D8650). isDereferenceablePointer will be extended to perform context-sensitive analysis and IR is not a good place to have such functionality. Patch by: Artur Pilipenko <apilipenko@azulsystems.com> Differential Revision: reviews.llvm.org/D9075 llvm-svn: 235611
Diffstat (limited to 'clang/lib/Lex/MacroInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud