aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Decl.cpp
diff options
context:
space:
mode:
authorAbramo Bagnara <abramo.bagnara@gmail.com>2011-03-03 18:24:14 +0000
committerAbramo Bagnara <abramo.bagnara@gmail.com>2011-03-03 18:24:14 +0000
commit203548ba4b72e7e59320d352afc1eb0b5ab131de (patch)
tree6f42c316fb3723c23233ba3547002bd4831502de /lib/AST/Decl.cpp
parent48b89590f61575cbf365ba996a2bd1ba1561a4ab (diff)
Fixed source range for LabelDecl.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126952 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r--lib/AST/Decl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp
index f37595a14a..6dd47077f3 100644
--- a/lib/AST/Decl.cpp
+++ b/lib/AST/Decl.cpp
@@ -2200,8 +2200,9 @@ TranslationUnitDecl *TranslationUnitDecl::Create(ASTContext &C) {
}
LabelDecl *LabelDecl::Create(ASTContext &C, DeclContext *DC,
- SourceLocation L, IdentifierInfo *II) {
- return new (C) LabelDecl(DC, L, II, 0);
+ SourceLocation L, IdentifierInfo *II,
+ bool isGnuLocal) {
+ return new (C) LabelDecl(DC, L, II, 0, isGnuLocal);
}