summaryrefslogtreecommitdiff
path: root/lib/Lex/PPCaching.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-09-05 08:53:53 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-09-05 08:53:53 +0000
commit02e7e7442ca8fd74c0ba5fbbebf52465338808ce (patch)
tree2afa905b4743ba2261d22a82bac37c5909b497c5 /lib/Lex/PPCaching.cpp
parent797a35d8a426e85e32d524e833b244242d0edb5d (diff)
downloadclang-02e7e7442ca8fd74c0ba5fbbebf52465338808ce.tar.gz
clang-02e7e7442ca8fd74c0ba5fbbebf52465338808ce.tar.bz2
clang-02e7e7442ca8fd74c0ba5fbbebf52465338808ce.tar.xz
Line endings: CRLF -> LF
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PPCaching.cpp')
-rw-r--r--lib/Lex/PPCaching.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Lex/PPCaching.cpp b/lib/Lex/PPCaching.cpp
index 7ba5e45afa..822b207cdc 100644
--- a/lib/Lex/PPCaching.cpp
+++ b/lib/Lex/PPCaching.cpp
@@ -15,14 +15,14 @@
#include "clang/Lex/Preprocessor.h"
using namespace clang;
-/// EnableBacktrackAtThisPos - From the point that this method is called, and
-/// until CommitBacktrackedTokens() or Backtrack() is called, the Preprocessor
-/// keeps track of the lexed tokens so that a subsequent Backtrack() call will
-/// make the Preprocessor re-lex the same tokens.
-///
-/// Nested backtracks are allowed, meaning that EnableBacktrackAtThisPos can
-/// be called multiple times and CommitBacktrackedTokens/Backtrack calls will
-/// be combined with the EnableBacktrackAtThisPos calls in reverse order.
+/// EnableBacktrackAtThisPos - From the point that this method is called, and
+/// until CommitBacktrackedTokens() or Backtrack() is called, the Preprocessor
+/// keeps track of the lexed tokens so that a subsequent Backtrack() call will
+/// make the Preprocessor re-lex the same tokens.
+///
+/// Nested backtracks are allowed, meaning that EnableBacktrackAtThisPos can
+/// be called multiple times and CommitBacktrackedTokens/Backtrack calls will
+/// be combined with the EnableBacktrackAtThisPos calls in reverse order.
void Preprocessor::EnableBacktrackAtThisPos() {
CacheTokens = true;
BacktrackPositions.push_back(CachedLexPos);