Commit 44934717 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Updated the plain-c++ manual test.

parent ceb65a1e
...@@ -122,7 +122,7 @@ int runWithNewPreprocessor(int argc, char *argv[]) ...@@ -122,7 +122,7 @@ int runWithNewPreprocessor(int argc, char *argv[])
void parse(const char *fileName, const char *source, unsigned size) void parse(const char *fileName, const char *source, unsigned size)
{ {
Control control; Control control;
TranslationUnit unit(&control, control.findOrInsertStringLiteral(fileName)); TranslationUnit unit(&control, control.stringLiteral(fileName));
unit.setSource(source, size); unit.setSource(source, size);
unit.parse(); unit.parse();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment