]> granicus.if.org Git - clang/commitdiff
Line endings: CRLF -> LF
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 5 Sep 2008 08:53:53 +0000 (08:53 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 5 Sep 2008 08:53:53 +0000 (08:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55829 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/PPCaching.cpp
test/CodeGen/cxx-value-init.cpp

index 7ba5e45afabbf44289a4feca3ed051bf893d207d..822b207cdcbe04ee3f31a6372d0ece62a55a2631 100644 (file)
 #include "clang/Lex/Preprocessor.h"
 using namespace clang;
 
-/// EnableBacktrackAtThisPos - From the point that this method is called, and\r
-/// until CommitBacktrackedTokens() or Backtrack() is called, the Preprocessor\r
-/// keeps track of the lexed tokens so that a subsequent Backtrack() call will\r
-/// make the Preprocessor re-lex the same tokens.\r
-///\r
-/// Nested backtracks are allowed, meaning that EnableBacktrackAtThisPos can\r
-/// be called multiple times and CommitBacktrackedTokens/Backtrack calls will\r
-/// be combined with the EnableBacktrackAtThisPos calls in reverse order.\r
+/// 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);
index b1cddd913fbe5e2eac2e0f545d891dd88fc4a0fa..50e08dba02db203b3eb29b330fc444cd31450465 100644 (file)
@@ -1,11 +1,11 @@
 // RUN: clang -emit-llvm %s -o %t
 
-enum E {};\r
-int v1 = E();\r
-float v2 = float();\r
-\r
-void f() {\r
-  int v3 = int();\r
+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)();
-}\r
+}