[clang] fffb389 - [Analysis] Remove unused declaration getCurrentLVarDefinition

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Sat May 27 10:45:31 PDT 2023


Author: Kazu Hirata
Date: 2023-05-27T10:45:18-07:00
New Revision: fffb389c8b2ff29a7a05fd17addf23a50005b057

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

LOG: [Analysis] Remove unused declaration getCurrentLVarDefinition

The declaration was added without a corresponding function definition
by:

  commit ae497deddfd9c631380bc622fa3e184531c2600a
  Author: DeLesley Hutchins <delesley at google.com>
  Date:   Sat Apr 19 00:35:54 2014 +0000

Added: 
    

Modified: 
    clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h b/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
index 9c73d65db2668..9d28325c1ea67 100644
--- a/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
+++ b/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h
@@ -484,8 +484,6 @@ class SExprBuilder {
     SMap.insert(std::make_pair(S, E));
   }
 
-  til::SExpr *getCurrentLVarDefinition(const ValueDecl *VD);
-
   til::SExpr *addStatement(til::SExpr *E, const Stmt *S,
                            const ValueDecl *VD = nullptr);
   til::SExpr *lookupVarDecl(const ValueDecl *VD);


        


More information about the cfe-commits mailing list