[llvm] b392fb3 - Fix unused type alias warning. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 27 02:43:45 PDT 2020


Author: Simon Pilgrim
Date: 2020-06-27T10:43:10+01:00
New Revision: b392fb33761e983a8edb5946734427779e25bbe2

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

LOG: Fix unused type alias warning. NFC.

The "using InsertPointTy" line is an unnecessary copy + paste from other builder tests.

Added: 
    

Modified: 
    llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
index c51a1a222144..ae0dff43b94c 100644
--- a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+++ b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
@@ -780,7 +780,6 @@ TEST_F(OpenMPIRBuilderTest, CriticalDirective) {
 }
 
 TEST_F(OpenMPIRBuilderTest, CopyinBlocks) {
-  using InsertPointTy = OpenMPIRBuilder::InsertPointTy;
   OpenMPIRBuilder OMPBuilder(*M);
   OMPBuilder.initialize();
   F->setName("func");


        


More information about the llvm-commits mailing list