]> granicus.if.org Git - clang/commit
Don't give a default argument to ASTContext::getFunctionType for the TypeQuals parame...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 26 Oct 2008 16:43:14 +0000 (16:43 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 26 Oct 2008 16:43:14 +0000 (16:43 +0000)
commit7fb5e4888221cd36652d078c6b171ac55e7f406d
tree90d8bb74030debd15c7b4920f686c79fc0d6d30a
parent197fa58ab40e3fee2137715e96d9bb1c59340837
Don't give a default argument to ASTContext::getFunctionType for the TypeQuals parameter, it causes subtle bugs where TypeQuals, while necessary, are omitted from the call.
-Remove the default argument.
-Update all call sites of ASTContext::getFunctionType.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58187 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/RewriteObjC.cpp
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp
lib/AST/Builtins.cpp
lib/AST/TypeSerialization.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaType.cpp