[clang] fe0723d - Fix -Wdocumentation warning. NFC.

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 29 11:51:59 PDT 2020


Author: Simon Pilgrim
Date: 2020-03-29T19:51:37+01:00
New Revision: fe0723dc9d45acfa4511961b208b7817b09297ec

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

LOG: Fix -Wdocumentation warning. NFC.

gcc was misinterpreting the template code snippet as html.

Added: 
    

Modified: 
    clang/include/clang/AST/PrettyPrinter.h

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/AST/PrettyPrinter.h b/clang/include/clang/AST/PrettyPrinter.h
index f42a6c0c1442..21e5ca94f6c4 100644
--- a/clang/include/clang/AST/PrettyPrinter.h
+++ b/clang/include/clang/AST/PrettyPrinter.h
@@ -184,7 +184,8 @@ struct PrintingPolicy {
   /// with zero parameters.
   unsigned UseVoidForZeroParams : 1;
 
-  /// Whether nested templates must be closed like a<b<c> > rather than a<b<c>>.
+  /// Whether nested templates must be closed like 'a<b<c> >' rather than
+  /// 'a<b<c>>'.
   unsigned SplitTemplateClosers : 1;
 
   /// Provide a 'terse' output.


        


More information about the cfe-commits mailing list