]> granicus.if.org Git - clang/commit
Add support for C++ default arguments, and rework Parse-Sema
authorChris Lattner <sabre@nondot.org>
Tue, 8 Apr 2008 04:40:51 +0000 (04:40 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Apr 2008 04:40:51 +0000 (04:40 +0000)
commit04421087832a031c90bd58f128c7c0e741db8dd2
treec80c38dcc7ecb4d31cf5c10faa49e00fc373ea81
parent5db17c9b5edb43e12196e565389b73e91a4fcb65
Add support for C++ default arguments, and rework Parse-Sema
interaction for function parameters, fixing PR2046.

Patch by Doug Gregor!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49369 91177308-0d34-0410-b5e6-96231b3b80d8
30 files changed:
Driver/clang.cpp
include/clang/AST/Decl.h
include/clang/AST/ExprCXX.h
include/clang/AST/StmtNodes.def
include/clang/Basic/DiagnosticKinds.def
include/clang/Parse/Action.h
include/clang/Parse/DeclSpec.h
lib/AST/Decl.cpp
lib/AST/DeclSerialization.cpp
lib/AST/Expr.cpp
lib/AST/ExprCXX.cpp
lib/AST/StmtPrinter.cpp
lib/AST/StmtSerialization.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGExprComplex.cpp
lib/CodeGen/CGExprConstant.cpp
lib/CodeGen/CGExprScalar.cpp
lib/Parse/ParseDecl.cpp
lib/Parse/Parser.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaType.cpp
test/CodeGen/cxx-default-arg.cpp [new file with mode: 0644]
test/Sema/arg-scope-c99.c [new file with mode: 0644]
test/Sema/arg-scope.c [new file with mode: 0644]
test/Sema/default1.c [new file with mode: 0644]
test/Sema/default1.cpp [new file with mode: 0644]
test/Sema/default2.cpp [new file with mode: 0644]