Skip to content
Snippets Groups Projects
Commit 44934717 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Updated the plain-c++ manual test.

parent ceb65a1e
No related branches found
No related tags found
No related merge requests found
...@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment