aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-01-04 23:13:47 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-01-04 23:13:47 +0000
commitfd5e54da2de7954db03d3eba051c28381df5a4a7 (patch)
tree7ee6eab0ec0cc6b5f2549db6fd3de5ec986ec09c /clang/lib/Basic/Module.cpp
parent7ac046a2616d71a8a6c2c618fb3b2bcff92c3a7d (diff)
downloadllvm-fd5e54da2de7954db03d3eba051c28381df5a4a7.zip
llvm-fd5e54da2de7954db03d3eba051c28381df5a4a7.tar.gz
llvm-fd5e54da2de7954db03d3eba051c28381df5a4a7.tar.bz2
Add an APValue representation for the difference between two address-of-label expressions. Add support to Evaluate and CGExprConstant for generating/handling them. Remove the special-case for such differences in Expr::isConstantInitializer.
With that done, remove a bunch of buggy code from CGExprConstant for handling scalar expressions which is no longer necessary. Fixes PR11705. llvm-svn: 147561
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions