summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-05-14 21:46:00 +0000
committerAnders Carlsson <andersca@mac.com>2009-05-14 21:46:00 +0000
commite0dd1d57b3a335362da046e4e6f5ed96880f4d15 (patch)
tree58809a26393c895b6270fd81cab8581b614e39dd /clang/lib/AST
parent372565211e075b4aad983d74b9d4f8c0ad0da3b2 (diff)
downloadbcm5719-llvm-e0dd1d57b3a335362da046e4e6f5ed96880f4d15.tar.gz
bcm5719-llvm-e0dd1d57b3a335362da046e4e6f5ed96880f4d15.zip
Improvements to the FunctionDecl getters/setters.
llvm-svn: 71800
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/Decl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp
index 319d4d5756c..c62c1e2b0ea 100644
--- a/clang/lib/AST/Decl.cpp
+++ b/clang/lib/AST/Decl.cpp
@@ -123,12 +123,12 @@ FunctionDecl *FunctionDecl::Create(ASTContext &C, DeclContext *DC,
SourceLocation L,
DeclarationName N, QualType T,
StorageClass S, bool isInline,
- bool hasPrototype,
+ bool hasWrittenPrototype,
SourceLocation TypeSpecStartLoc) {
FunctionDecl *New
= new (C) FunctionDecl(Function, DC, L, N, T, S, isInline,
TypeSpecStartLoc);
- New->HasPrototype = hasPrototype;
+ New->HasWrittenPrototype = hasWrittenPrototype;
return New;
}
OpenPOWER on IntegriCloud