diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-09 17:41:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-09 17:41:47 +0000 |
commit | a5f58b05e82a06b5491c74d3a18c3ee1c749f77b (patch) | |
tree | 3de2a264c644e13e02ae7bf60329e62ad8f50901 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | b1ed91f3978377294d4620c53ca81beed08b73c7 (diff) | |
download | llvm-a5f58b05e82a06b5491c74d3a18c3ee1c749f77b.zip llvm-a5f58b05e82a06b5491c74d3a18c3ee1c749f77b.tar.gz llvm-a5f58b05e82a06b5491c74d3a18c3ee1c749f77b.tar.bz2 |
clang side to match the LLVM IR type system rewrite patch.
llvm-svn: 134831
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index fa12f56..7f2d8b9 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1346,9 +1346,9 @@ public: /// a terminate scope encloses a try. llvm::BasicBlock *getTerminateHandler(); - const llvm::Type *ConvertTypeForMem(QualType T); - const llvm::Type *ConvertType(QualType T); - const llvm::Type *ConvertType(const TypeDecl *T) { + llvm::Type *ConvertTypeForMem(QualType T); + llvm::Type *ConvertType(QualType T); + llvm::Type *ConvertType(const TypeDecl *T) { return ConvertType(getContext().getTypeDeclType(T)); } |