diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-09-05 08:53:53 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-09-05 08:53:53 +0000 |
commit | 91c3f526dcebbe8ca445ec5943dde4f5aad56a38 (patch) | |
tree | 508c1c8385e88a91bc8eeb8ee9741576f1c8ccb1 | |
parent | 4d50e984bb503fdadf791c6afeda0b958125d9a3 (diff) | |
download | bcm5719-llvm-91c3f526dcebbe8ca445ec5943dde4f5aad56a38.tar.gz bcm5719-llvm-91c3f526dcebbe8ca445ec5943dde4f5aad56a38.zip |
Line endings: CRLF -> LF
llvm-svn: 55829
-rw-r--r-- | clang/lib/Lex/PPCaching.cpp | 16 | ||||
-rw-r--r-- | clang/test/CodeGen/cxx-value-init.cpp | 14 |
2 files changed, 15 insertions, 15 deletions
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)(); -}
+} |