diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-01-18 05:21:49 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-01-18 05:21:49 +0000 |
commit | 66e05fe63099da5e8ded20cd71ec7a2ea662ca30 (patch) | |
tree | 2395a2f852f67f19696614829305074d9eb760ae /clang/lib/Serialization/Module.cpp | |
parent | 9351402fa4016300686cdea8302664790c4f1973 (diff) | |
download | llvm-66e05fe63099da5e8ded20cd71ec7a2ea662ca30.zip llvm-66e05fe63099da5e8ded20cd71ec7a2ea662ca30.tar.gz llvm-66e05fe63099da5e8ded20cd71ec7a2ea662ca30.tar.bz2 |
Move narrowing conversion detection code from SemaInit to SemaOverload, ready
for it to be used in converted constant expression checking, and fix a couple
of issues:
- Conversion operators implicitly invoked prior to the narrowing conversion
were not being correctly handled when determining whether a constant value
was narrowed.
- For conversions from floating-point to integral types, the diagnostic text
incorrectly always claimed that the source expression was not a constant
expression.
llvm-svn: 148381
Diffstat (limited to 'clang/lib/Serialization/Module.cpp')
0 files changed, 0 insertions, 0 deletions