[llvm] caedf79 - [NFC] Fix a comment in MachinePassManager.h
Yuanfang Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 8 15:40:32 PDT 2020
Author: Yuanfang Chen
Date: 2020-10-08T15:38:57-07:00
New Revision: caedf7937c59aac89f41d131a2df96d627433411
URL: https://github.com/llvm/llvm-project/commit/caedf7937c59aac89f41d131a2df96d627433411
DIFF: https://github.com/llvm/llvm-project/commit/caedf7937c59aac89f41d131a2df96d627433411.diff
LOG: [NFC] Fix a comment in MachinePassManager.h
Fix "warning: '\returns' command used in a comment that is not attached
to a function or method declaration [-Wdocumentation]
1 warning generated."
Added:
Modified:
llvm/include/llvm/CodeGen/MachinePassManager.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/MachinePassManager.h b/llvm/include/llvm/CodeGen/MachinePassManager.h
index 2c2c4e3ce259..1489177d9668 100644
--- a/llvm/include/llvm/CodeGen/MachinePassManager.h
+++ b/llvm/include/llvm/CodeGen/MachinePassManager.h
@@ -91,7 +91,7 @@ class MachineFunctionAnalysisManager : public AnalysisManager<MachineFunction> {
///
/// This method never runs the analysis.
///
- /// \returns null if there is no cached result.
+ /// returns null if there is no cached result.
using Base::getCachedResult;
// FIXME: Add LoopAnalysisManager or CGSCCAnalysisManager if needed.
More information about the llvm-commits
mailing list