summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/Mangle.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-06-26 18:41:36 +0000
committerAnders Carlsson <andersca@mac.com>2009-06-26 18:41:36 +0000
commit082acded4425ed6812c71f989ba91cf6b665d329 (patch)
tree6477a12f7c3cdb19bc4ec84396ef58af0e039f2f /clang/lib/CodeGen/Mangle.cpp
parenta720af1370deea007e5de644ac7a89c694ffe040 (diff)
downloadbcm5719-llvm-082acded4425ed6812c71f989ba91cf6b665d329.tar.gz
bcm5719-llvm-082acded4425ed6812c71f989ba91cf6b665d329.zip
Implement enough of the 'auto' keyword so we can claim to support N2546.
llvm-svn: 74307
Diffstat (limited to 'clang/lib/CodeGen/Mangle.cpp')
-rw-r--r--clang/lib/CodeGen/Mangle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/Mangle.cpp b/clang/lib/CodeGen/Mangle.cpp
index 24e441a2963..b5ad5acc016 100644
--- a/clang/lib/CodeGen/Mangle.cpp
+++ b/clang/lib/CodeGen/Mangle.cpp
@@ -539,6 +539,9 @@ void CXXNameMangler::mangleType(const BuiltinType *T) {
assert(false &&
"Overloaded and dependent types shouldn't get to name mangling");
break;
+ case BuiltinType::UndeducedAuto:
+ assert(0 && "Should not see undeduced auto here");
+ break;
}
}
OpenPOWER on IntegriCloud