diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-06-26 18:41:36 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-06-26 18:41:36 +0000 |
| commit | 082acded4425ed6812c71f989ba91cf6b665d329 (patch) | |
| tree | 6477a12f7c3cdb19bc4ec84396ef58af0e039f2f /clang/lib/AST | |
| parent | a720af1370deea007e5de644ac7a89c694ffe040 (diff) | |
| download | bcm5719-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/AST')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 16a62fdd8cd..12f75ae863a 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -179,6 +179,10 @@ void ASTContext::InitBuiltinTypes() { // expressions. InitBuiltinType(DependentTy, BuiltinType::Dependent); + // Placeholder type for C++0x auto declarations whose real type has + // not yet been deduced. + InitBuiltinType(UndeducedAutoTy, BuiltinType::UndeducedAuto); + // C99 6.2.5p11. FloatComplexTy = getComplexType(FloatTy); DoubleComplexTy = getComplexType(DoubleTy); |

