[llvm] 91c5928 - [ModuleUtils] Clean up header file. [NFC]
Francesco Petrogalli via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 20:39:00 PST 2019
Author: Francesco Petrogalli
Date: 2019-11-14T04:36:45Z
New Revision: 91c5928c3623bb4eaaf6fc9ea031866cb87fe19e
URL: https://github.com/llvm/llvm-project/commit/91c5928c3623bb4eaaf6fc9ea031866cb87fe19e
DIFF: https://github.com/llvm/llvm-project/commit/91c5928c3623bb4eaaf6fc9ea031866cb87fe19e.diff
LOG: [ModuleUtils] Clean up header file. [NFC]
Summary:
1. Remove unused forward declaration.
2. Remove unnecessary `\defgroup` in docygen documentation.
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D70218
Added:
Modified:
llvm/include/llvm/Transforms/Utils/ModuleUtils.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Utils/ModuleUtils.h b/llvm/include/llvm/Transforms/Utils/ModuleUtils.h
index db6409ac078c..c2da86406e71 100644
--- a/llvm/include/llvm/Transforms/Utils/ModuleUtils.h
+++ b/llvm/include/llvm/Transforms/Utils/ModuleUtils.h
@@ -109,23 +109,13 @@ void filterDeadComdatFunctions(
/// 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
More information about the llvm-commits
mailing list