[llvm] 0712c2a - CodeGenPassBuilder.h - fix Wdocumentation warning. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 03:19:27 PST 2021


Author: Simon Pilgrim
Date: 2021-02-05T11:11:37Z
New Revision: 0712c2a2b8954d6d680c6eed01e127bdb0f0b07d

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

LOG: CodeGenPassBuilder.h - fix Wdocumentation warning. NFCI.

void functions shouldn't have a \returns

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/CodeGenPassBuilder.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h b/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
index 893bc6e013f4..1a94d28e3807 100644
--- a/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
+++ b/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
@@ -380,7 +380,6 @@ template <typename DerivedT> class CodeGenPassBuilder {
   /// representation to the MI representation.
   /// Adds IR based lowering and target specific optimization passes and finally
   /// the core instruction selection passes.
-  /// \returns true if an error occurred, false otherwise.
   void addISelPasses(AddIRPass &) const;
 
   /// Add the actual instruction selection passes. This does not include


        


More information about the llvm-commits mailing list