[compiler-rt] 6760f7e - [compiler-rt][tsan] Remove unnecesary typedefs

Marco Vanotti via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 18:45:26 PDT 2020


Author: Marco Vanotti
Date: 2020-08-28T18:43:54-07:00
New Revision: 6760f7ee6f00158c496b8e50d9ddac1f1c631ad7

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

LOG: [compiler-rt][tsan] Remove unnecesary typedefs

These typedefs are not used anywhere else in this compilation unit.

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

Added: 
    

Modified: 
    compiler-rt/lib/tsan/rtl/tsan_interface.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/tsan/rtl/tsan_interface.cpp b/compiler-rt/lib/tsan/rtl/tsan_interface.cpp
index 5c2a617a24c3..55f1c9834f70 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_interface.cpp
+++ b/compiler-rt/lib/tsan/rtl/tsan_interface.cpp
@@ -20,10 +20,6 @@
 
 using namespace __tsan;
 
-typedef u16 uint16_t;
-typedef u32 uint32_t;
-typedef u64 uint64_t;
-
 void __tsan_init() {
   cur_thread_init();
   Initialize(cur_thread());


        


More information about the llvm-commits mailing list