[llvm] a0ed0e3 - CodeGenDAGPatterns.h - remove unnecessary ComplexPattern forward declaration. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 20 07:19:55 PDT 2020


Author: Simon Pilgrim
Date: 2020-07-20T15:17:19+01:00
New Revision: a0ed0e3fac397cf6ca98e170cc5846e5429132c7

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

LOG: CodeGenDAGPatterns.h - remove unnecessary ComplexPattern forward declaration. NFCI.

This is defined in CodeGenTarget.h which we have to explicitly include already.

Added: 
    

Modified: 
    llvm/utils/TableGen/CodeGenDAGPatterns.h

Removed: 
    


################################################################################
diff  --git a/llvm/utils/TableGen/CodeGenDAGPatterns.h b/llvm/utils/TableGen/CodeGenDAGPatterns.h
index 4a74fc5fd720..7a0da531469e 100644
--- a/llvm/utils/TableGen/CodeGenDAGPatterns.h
+++ b/llvm/utils/TableGen/CodeGenDAGPatterns.h
@@ -41,7 +41,6 @@ class SDNodeInfo;
 class TreePattern;
 class TreePatternNode;
 class CodeGenDAGPatterns;
-class ComplexPattern;
 
 /// Shared pointer for TreePatternNode.
 using TreePatternNodePtr = std::shared_ptr<TreePatternNode>;


        


More information about the llvm-commits mailing list