D | PreprocessorTest.cpp | 15 pp::Preprocessor *preprocessor) in preprocess() argument 17 ASSERT_TRUE(preprocessor->init(1, &input, nullptr)); in preprocess() 23 preprocessor->lex(&token); in preprocess() 37 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, settings); in preprocess() local 38 preprocess(input, nullptr, &preprocessor); in preprocess() 53 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, in preprocess() local 56 preprocess(input, &output, &preprocessor); in preprocess() 64 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, in lexSingleToken() local 66 ASSERT_TRUE(preprocessor.init(1, &input, nullptr)); in lexSingleToken() 67 preprocessor.lex(token); in lexSingleToken() [all …]
|