[llvm] 9308dff - BuildLibCalls.h - remove unnecessary TargetLibraryInfo forward declaration. NFC

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 19 03:17:24 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-19T11:14:00+01:00
New Revision: 9308dffc218f121c35c6b9adaeaf64e607493329

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

LOG: BuildLibCalls.h - remove unnecessary TargetLibraryInfo forward declaration. NFC

We already have to include the TargetLibraryInfo.h header.

Added: 
    

Modified: 
    llvm/include/llvm/Transforms/Utils/BuildLibCalls.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h b/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h
index 2993d5a95cc9..90517e806e02 100644
--- a/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h
+++ b/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h
@@ -19,7 +19,6 @@
 namespace llvm {
   class Value;
   class DataLayout;
-  class TargetLibraryInfo;
   class IRBuilderBase;
 
   /// Analyze the name and prototype of the given function and set any


        


More information about the llvm-commits mailing list