[clang] b81fd5a - [clang-format][NFC] Fix a Wdocumentation warning in TokenAnnotator.cpp

Bruno Ricci via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 28 02:59:08 PDT 2020


Author: Bruno Ricci
Date: 2020-07-28T10:58:52+01:00
New Revision: b81fd5aeecd8047ef62348b67cab2cf9a1577d8e

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

LOG: [clang-format][NFC] Fix a Wdocumentation warning in TokenAnnotator.cpp

Added: 
    

Modified: 
    clang/lib/Format/TokenAnnotator.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Format/TokenAnnotator.cpp b/clang/lib/Format/TokenAnnotator.cpp
index b19fc34bcc80..6cbaf8a30812 100644
--- a/clang/lib/Format/TokenAnnotator.cpp
+++ b/clang/lib/Format/TokenAnnotator.cpp
@@ -27,7 +27,7 @@ namespace format {
 namespace {
 
 /// Returns \c true if the token can be used as an identifier in
-/// an Objective-C \c @selector, \c false otherwise.
+/// an Objective-C \c \@selector, \c false otherwise.
 ///
 /// Because getFormattingLangOpts() always lexes source code as
 /// Objective-C++, C++ keywords like \c new and \c delete are


        


More information about the cfe-commits mailing list