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 | bcm5719-llvm-a5f58b05e82a06b5491c74d3a18c3ee1c749f77b.tar.gz bcm5719-llvm-a5f58b05e82a06b5491c74d3a18c3ee1c749f77b.zip | |
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 fa12f563748..7f2d8b9ed0c 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)); } |

