aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-04-16 22:09:46 +0000
committerDouglas Gregor <dgregor@apple.com>2010-04-16 22:09:46 +0000
commitd6e44a3c4193bd422bfa78c8086fb16bb2168e34 (patch)
treecb04261ecfa3a4512613d65fd851aae18dbad935 /lib/CodeGen/CodeGenModule.cpp
parente74ef1289d5fff0a6ea573198bf354fa8cd84d51 (diff)
Collapse the three separate initialization paths in
TryStaticImplicitCast (for references, class types, and everything else, respectively) into a single invocation of InitializationSequence. One of the paths (for class types) was the only client of Sema::TryInitializationByConstructor, which I have eliminated. This also simplified the interface for much of the cast-checking logic, eliminating yet more code. I've kept the representation of C++ functional casts with <> 1 arguments the same, despite the fact that I hate it. That fix will come soon. To satisfy my paranoia, I've bootstrapped + tested Clang with these changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101549 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions