aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/Module.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-01-18 05:21:49 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-01-18 05:21:49 +0000
commit66e05fe63099da5e8ded20cd71ec7a2ea662ca30 (patch)
tree2395a2f852f67f19696614829305074d9eb760ae /clang/lib/Serialization/Module.cpp
parent9351402fa4016300686cdea8302664790c4f1973 (diff)
downloadllvm-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