2012-08-17 13:26:33 +08:00
|
|
|
#include "complete-preamble.h"
|
|
|
|
void f() {
|
|
|
|
std::
|
|
|
|
}
|
|
|
|
|
2015-12-15 17:30:31 +08:00
|
|
|
// 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
|
|
|
|
// 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
|
|
|
|
|
|
|
|
// FIRST: Precompiling preamble
|
|
|
|
// FIRST: Parsing
|
|
|
|
// FIRST: Reparsing
|
2012-08-17 13:26:33 +08:00
|
|
|
|
2015-12-15 17:30:31 +08:00
|
|
|
// SECOND: Parsing
|
|
|
|
// SECOND: Precompiling preamble
|
|
|
|
// SECOND: Reparsing
|
|
|
|
|
|
|
|
// CHECK-CC1: {ResultType void}{TypedText wibble}{LeftParen (}{RightParen )} (50)
|