[clang] ca47ab1 - [Clang] Remove unused function declaration after 77475ffd22418ca72.

Florian Hahn via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 27 06:18:09 PDT 2022


Author: Florian Hahn
Date: 2022-06-27T14:17:53+01:00
New Revision: ca47ab128bf33d1e2aa753da76f1224b53c37661

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

LOG: [Clang] Remove unused function declaration after 77475ffd22418ca72.

Added: 
    

Modified: 
    clang/lib/CodeGen/SanitizerMetadata.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/CodeGen/SanitizerMetadata.h b/clang/lib/CodeGen/SanitizerMetadata.h
index 41e1dca32aad..3ac97889d7dd 100644
--- a/clang/lib/CodeGen/SanitizerMetadata.h
+++ b/clang/lib/CodeGen/SanitizerMetadata.h
@@ -47,10 +47,6 @@ class SanitizerMetadata {
   void disableSanitizerForGlobal(llvm::GlobalVariable *GV);
   void disableSanitizerForInstruction(llvm::Instruction *I);
 
-private:
-  void reportGlobal(llvm::GlobalVariable *GV, SourceLocation Loc,
-                    StringRef Name, QualType Ty, bool IsDynInit,
-                    bool IsExcluded);
   llvm::MDNode *getLocationMetadata(SourceLocation Loc);
 };
 } // end namespace CodeGen


        


More information about the cfe-commits mailing list