[clang] 2a86880 - [clang][CodeGen][NFC] Remove unused CodeGenModule fields

Itay Bookstein via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 31 13:46:20 PST 2022


Author: Itay Bookstein
Date: 2022-01-31T23:45:53+02:00
New Revision: 2a868802a37261105ea3baeaba405c41cb4b5675

URL: https://github.com/llvm/llvm-project/commit/2a868802a37261105ea3baeaba405c41cb4b5675
DIFF: https://github.com/llvm/llvm-project/commit/2a868802a37261105ea3baeaba405c41cb4b5675.diff

LOG: [clang][CodeGen][NFC] Remove unused CodeGenModule fields

Signed-off-by: Itay Bookstein <ibookstein at gmail.com>

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D118619

Added: 
    

Modified: 
    clang/lib/CodeGen/CodeGenModule.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index e803022508a4..1fcd5d4d808a 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -394,13 +394,6 @@ class CodeGenModule : public CodeGenTypeCache {
   llvm::MapVector<GlobalDecl, StringRef> MangledDeclNames;
   llvm::StringMap<GlobalDecl, llvm::BumpPtrAllocator> Manglings;
 
-  // An ordered map of canonical GlobalDecls paired with the cpu-index for
-  // cpu-specific name manglings.
-  llvm::MapVector<std::pair<GlobalDecl, unsigned>, StringRef>
-      CPUSpecificMangledDeclNames;
-  llvm::StringMap<std::pair<GlobalDecl, unsigned>, llvm::BumpPtrAllocator>
-      CPUSpecificManglings;
-
   /// Global annotations.
   std::vector<llvm::Constant*> Annotations;
 


        


More information about the cfe-commits mailing list