[PATCH] D70218: [ModuleUtils] Clean up header file. [NFC]

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 20:38:10 PST 2019


fpetrogalli created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
fpetrogalli accepted this revision.
fpetrogalli added a comment.
This revision is now accepted and ready to land.

Self approving a NFC, as suggested in https://reviews.llvm.org/D70107#inline-632467


1. Remove unused forward declaration.
2. Remove unnecessary `\defgroup` in docygen documentation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70218

Files:
  llvm/include/llvm/Transforms/Utils/ModuleUtils.h


Index: llvm/include/llvm/Transforms/Utils/ModuleUtils.h
===================================================================
--- llvm/include/llvm/Transforms/Utils/ModuleUtils.h
+++ llvm/include/llvm/Transforms/Utils/ModuleUtils.h
@@ -109,23 +109,13 @@
 /// unique identifier for this module, so we return the empty string.
 std::string getUniqueModuleId(Module *M);
 
-class TargetLibraryInfo;
 class CallInst;
 namespace VFABI {
-
-/// \defgroup Vector Function ABI (VABI) Module functions.
-///
-/// Utility functions for VFABI data that can modify the module.
-///
-/// @{
 /// Overwrite the Vector Function ABI variants attribute with the names provide
 /// in \p VariantMappings.
 void setVectorVariantNames(CallInst *CI,
                            const SmallVector<std::string, 8> &VariantMappings);
-
-/// @}
 } // End VFABI namespace
-
 } // End llvm namespace
 
 #endif //  LLVM_TRANSFORMS_UTILS_MODULEUTILS_H


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70218.229222.patch
Type: text/x-patch
Size: 921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191114/6d3bc320/attachment.bin>


More information about the llvm-commits mailing list