diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2012-01-04 23:13:47 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2012-01-04 23:13:47 +0000 |
commit | fd5e54da2de7954db03d3eba051c28381df5a4a7 (patch) | |
tree | 7ee6eab0ec0cc6b5f2549db6fd3de5ec986ec09c /clang/lib/Basic/Module.cpp | |
parent | 7ac046a2616d71a8a6c2c618fb3b2bcff92c3a7d (diff) | |
download | llvm-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