Douglas Gregor | cda209a | 2012-08-17 05:26:33 +0000 | [diff] [blame] | 1 | #include "complete-preamble.h" |
| 2 | void f() { |
| 3 | std:: |
| 4 | } |
| 5 | |
Benjamin Kramer | 5c248d8 | 2015-12-15 09:30:31 +0000 | [diff] [blame] | 6 | // RUN: env CINDEXTEST_EDITING=1 LIBCLANG_TIMING=1 c-index-test -code-completion-at=%s:3:8 %s -o - 2>&1 | FileCheck -check-prefix=CHECK-CC1 -check-prefix=SECOND %s |
| 7 | // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_CREATE_PREAMBLE_ON_FIRST_PARSE=1 LIBCLANG_TIMING=1 c-index-test -code-completion-at=%s:3:8 %s -o - 2>&1 | FileCheck -check-prefix=CHECK-CC1 -check-prefix=FIRST %s |
Douglas Gregor | cda209a | 2012-08-17 05:26:33 +0000 | [diff] [blame] | 8 | |
Benjamin Kramer | 5c248d8 | 2015-12-15 09:30:31 +0000 | [diff] [blame] | 9 | // FIRST: Precompiling preamble |
| 10 | // FIRST: Parsing |
| 11 | // FIRST: Reparsing |
| 12 | |
| 13 | // SECOND: Parsing |
| 14 | // SECOND: Precompiling preamble |
| 15 | // SECOND: Reparsing |
| 16 | |
| 17 | // CHECK-CC1: {ResultType void}{TypedText wibble}{LeftParen (}{RightParen )} (50) |