diff options
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r-- | clang/lib/Format/Format.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index aa24891..aec5bb4 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -1008,7 +1008,7 @@ private: // See whether there is an odd number of '\' before this. unsigned count = 0; for (; pos >= 0; --pos, ++count) - if (Text[count] != '\\') + if (Text[pos] != '\\') break; return count & 1; }; |