[llvm] 714075f - [NFC] Remove unnecessary default constructors

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 18:54:50 PDT 2020


Author: Arthur Eubanks
Date: 2020-09-23T18:54:10-07:00
New Revision: 714075f9c1ac50cde20e21e559f0e29fdc848bf1

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

LOG: [NFC] Remove unnecessary default constructors

Added: 
    

Modified: 
    llvm/include/llvm/Passes/StandardInstrumentations.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Passes/StandardInstrumentations.h b/llvm/include/llvm/Passes/StandardInstrumentations.h
index 76e217c89974..52850898c6b8 100644
--- a/llvm/include/llvm/Passes/StandardInstrumentations.h
+++ b/llvm/include/llvm/Passes/StandardInstrumentations.h
@@ -37,7 +37,6 @@ class Function;
 /// (typically Loop or SCC).
 class PrintIRInstrumentation {
 public:
-  PrintIRInstrumentation() = default;
   ~PrintIRInstrumentation();
 
   void registerCallbacks(PassInstrumentationCallbacks &PIC);
@@ -60,7 +59,6 @@ class PrintIRInstrumentation {
 
 class OptNoneInstrumentation {
 public:
-  OptNoneInstrumentation() {}
   void registerCallbacks(PassInstrumentationCallbacks &PIC);
 
 private:


        


More information about the llvm-commits mailing list