diff options
author | Anders Carlsson <andersca@mac.com> | 2011-04-20 23:51:43 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2011-04-20 23:51:43 +0000 |
commit | e0047b13f0025fa1588f1b776592ed3458b226d6 (patch) | |
tree | 8d9595ad48865bdaf0e62be1ad5e6aac7cc92e85 /lib/CodeGen/CodeGenTypes.h | |
parent | 42f681b83378de1541919c7f72e7555e35158867 (diff) |
Don't add type names for enums; they're never used in LLVM IR.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
-rw-r--r-- | lib/CodeGen/CodeGenTypes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CodeGenTypes.h b/lib/CodeGen/CodeGenTypes.h index a0e1caa6ed..dc383cb4db 100644 --- a/lib/CodeGen/CodeGenTypes.h +++ b/lib/CodeGen/CodeGenTypes.h @@ -101,10 +101,10 @@ private: /// used to handle cyclic structures properly. void HandleLateResolvedPointers(); - /// addTagTypeName - Compute a name from the given tag decl with an optional - /// suffix and name the given LLVM type using it. - void addTagTypeName(const TagDecl *TD, const llvm::Type *Ty, - llvm::StringRef suffix); + /// addRecordTypeName - Compute a name from the given record decl with an + /// optional suffix and name the given LLVM type using it. + void addRecordTypeName(const RecordDecl *RD, const llvm::Type *Ty, + llvm::StringRef suffix); public: CodeGenTypes(ASTContext &Ctx, llvm::Module &M, const llvm::TargetData &TD, |