From 91c3f526dcebbe8ca445ec5943dde4f5aad56a38 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Fri, 5 Sep 2008 08:53:53 +0000 Subject: Line endings: CRLF -> LF llvm-svn: 55829 --- clang/lib/Lex/PPCaching.cpp | 16 ++++++++-------- clang/test/CodeGen/cxx-value-init.cpp | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'clang') diff --git a/clang/lib/Lex/PPCaching.cpp b/clang/lib/Lex/PPCaching.cpp index 7ba5e45afab..822b207cdcb 100644 --- a/clang/lib/Lex/PPCaching.cpp +++ b/clang/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); diff --git a/clang/test/CodeGen/cxx-value-init.cpp b/clang/test/CodeGen/cxx-value-init.cpp index b1cddd913fb..50e08dba02d 100644 --- a/clang/test/CodeGen/cxx-value-init.cpp +++ b/clang/test/CodeGen/cxx-value-init.cpp @@ -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)(); -} +} -- cgit v1.2.3