diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-12-12 00:26:23 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-12-12 00:26:23 +0000 |
| commit | 22f443f58c0b37fea8727d8d7968df31dfa0a1b8 (patch) | |
| tree | 8ea647da27594e2ab2986fafaa03c8c932041024 /clang/lib/AST/ASTContext.cpp | |
| parent | c0b2ce14cdc18508fff784c7826b7bb35334fbf0 (diff) | |
| download | bcm5719-llvm-22f443f58c0b37fea8727d8d7968df31dfa0a1b8.tar.gz bcm5719-llvm-22f443f58c0b37fea8727d8d7968df31dfa0a1b8.zip | |
Factor operator new declaration checking out into a separate function.
llvm-svn: 91189
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 0d5567370b9..cc7055dc68b 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -2277,7 +2277,7 @@ QualType ASTContext::getTagDeclType(const TagDecl *Decl) { /// getSizeType - Return the unique type for "size_t" (C99 7.17), the result /// of the sizeof operator (C99 6.5.3.4p4). The value is target dependent and /// needs to agree with the definition in <stddef.h>. -QualType ASTContext::getSizeType() const { +CanQualType ASTContext::getSizeType() const { return getFromTargetType(Target.getSizeType()); } |

