aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Decl.cpp
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
commita75e8534f2b7c2480c48f31f301bd00b241c5499 (patch)
tree05ceade41dc6689fe4fd1eafe72fe90983db75de /lib/AST/Decl.cpp
parent48dd19b19ddb9e105f8cf0bf6f0732ca4e6a385b (diff)
Improvements to the FunctionDecl getters/setters.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r--lib/AST/Decl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp
index 319d4d5756..c62c1e2b0e 100644
--- a/lib/AST/Decl.cpp
+++ b/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;
}