[cfe-commits] r55829 - in /cfe/trunk: lib/Lex/PPCaching.cpp test/CodeGen/cxx-value-init.cpp

Argiris Kirtzidis akyrtzi at gmail.com
Fri Sep 5 01:53:53 PDT 2008


Author: akirtzidis
Date: Fri Sep  5 03:53:53 2008
New Revision: 55829

URL: http://llvm.org/viewvc/llvm-project?rev=55829&view=rev
Log:
Line endings: CRLF -> LF

Modified:
    cfe/trunk/lib/Lex/PPCaching.cpp
    cfe/trunk/test/CodeGen/cxx-value-init.cpp

Modified: cfe/trunk/lib/Lex/PPCaching.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPCaching.cpp?rev=55829&r1=55828&r2=55829&view=diff

==============================================================================
--- cfe/trunk/lib/Lex/PPCaching.cpp (original)
+++ cfe/trunk/lib/Lex/PPCaching.cpp Fri Sep  5 03:53:53 2008
@@ -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);

Modified: cfe/trunk/test/CodeGen/cxx-value-init.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/cxx-value-init.cpp?rev=55829&r1=55828&r2=55829&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/cxx-value-init.cpp (original)
+++ cfe/trunk/test/CodeGen/cxx-value-init.cpp Fri Sep  5 03:53:53 2008
@@ -1,11 +1,11 @@
 // RUN: clang -emit-llvm %s -o %t
 
-enum E {};
-int v1 = E();
-float v2 = float();
-
-void f() {
-  int v3 = int();
+enum E {};
+int v1 = E();
+float v2 = float();
+
+void f() {
+  int v3 = int();
   _Complex int v4 = typeof(_Complex int)();
   _Complex float v5 = typeof(_Complex float)();
-}
+}





More information about the cfe-commits mailing list