]> granicus.if.org Git - clang/commitdiff
Documentation cleanup: escape \ characters in Doxygen comments as needed.
authorJames Dennett <jdennett@google.com>
Fri, 22 Jun 2012 05:33:23 +0000 (05:33 +0000)
committerJames Dennett <jdennett@google.com>
Fri, 22 Jun 2012 05:33:23 +0000 (05:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158968 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/TextDiagnostic.cpp

index 5c8da05c7bba2f6e996aad059a1c335e65e2c738..d0c3626f3cde7905afc0bb0f0aae3253b020eeeb 100644 (file)
@@ -179,7 +179,7 @@ static void expandTabs(std::string &SourceLine, unsigned TabStop) {
 ///
 ///    "a \t \u3042" -> {0,1,2,8,9,-1,-1,11}
 ///
-///  (\u3042 is represented in UTF-8 by three bytes and takes two columns to
+///  (\\u3042 is represented in UTF-8 by three bytes and takes two columns to
 ///   display)
 static void byteToColumn(StringRef SourceLine, unsigned TabStop,
                          SmallVectorImpl<int> &out) {
@@ -213,7 +213,7 @@ static void byteToColumn(StringRef SourceLine, unsigned TabStop,
 ///
 ///    "a \t \u3042" -> {0,1,2,-1,-1,-1,-1,-1,3,4,-1,7}
 ///
-///  (\u3042 is represented in UTF-8 by three bytes and takes two columns to
+///  (\\u3042 is represented in UTF-8 by three bytes and takes two columns to
 ///   display)
 static void columnToByte(StringRef SourceLine, unsigned TabStop,
                          SmallVectorImpl<int> &out) {