diff options
Diffstat (limited to 'clang/AST/SemaDecl.cpp')
| -rw-r--r-- | clang/AST/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/AST/SemaDecl.cpp b/clang/AST/SemaDecl.cpp index 0d7e865ad2d..e339f167e3f 100644 --- a/clang/AST/SemaDecl.cpp +++ b/clang/AST/SemaDecl.cpp @@ -109,7 +109,7 @@ Decl *Sema::LookupScopedDecl(IdentifierInfo *II, unsigned NSI, Decl *Sema::LazilyCreateBuiltin(IdentifierInfo *II, unsigned bid, Scope *S) { Builtin::ID BID = (Builtin::ID)bid; - TypeRef R = Builtin::GetBuiltinType(BID, Context); + TypeRef R = Context.BuiltinInfo.GetBuiltinType(BID, Context); FunctionDecl *New = new FunctionDecl(SourceLocation(), II, R); // Find translation-unit scope to insert this function into. |

