summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Path.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-10-21 23:43:52 +0000
committerDouglas Gregor <dgregor@apple.com>2008-10-21 23:43:52 +0000
commit9a6579340fabd3e0b802d327f0e2e9f06f326fd9 (patch)
treeb1f0a6b36bf4032dc2f0beb7eee612608cb7af8d /llvm/lib/System/Path.cpp
parent54d5b9ea2c2c375f680f3b08a642145edf2b6bf1 (diff)
downloadbcm5719-llvm-9a6579340fabd3e0b802d327f0e2e9f06f326fd9.tar.gz
bcm5719-llvm-9a6579340fabd3e0b802d327f0e2e9f06f326fd9.zip
Initial step toward supporting qualification conversions (C++ 4.4).
Changes: - Sema::IsQualificationConversion determines whether we have a qualification conversion. - Sema::CheckSingleAssignment constraints now follows the C++ rules in C++, performing an implicit conversion from the right-hand side to the type of the left-hand side rather than checking based on the C notion of "compatibility". We now rely on the implicit-conversion code to determine whether the conversion can happen or not. Sema::TryCopyInitialization has an ugly reference-related hack to cope with the initialization of references, for now. - When building DeclRefExprs, strip away the reference type, since there are no expressions whose type is a reference. We'll need to do this throughout Sema. - Expr::isLvalue now permits functions to be lvalues in C++ (but not in C). llvm-svn: 57935
Diffstat (limited to 'llvm/lib/System/Path.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud