data: fixes in TokenLocations

* TokenLocations for used datatypes are more precise now.
* added -c option to parser to indicate that no executable will be built.
This commit is contained in:
malte_langkabel
2014-10-13 16:19:50 +02:00
parent f41e1c429d
commit e91d5474b6
2 changed files with 13 additions and 8 deletions
+3
View File
@@ -26,6 +26,9 @@ void CxxParser::parseFiles(
// verbose
// args.push_back("-v");
// The option -c signals that no executable is built.
args.push_back("-c");
// The option '-x c++' treats subsequent input files as C++.
args.push_back("-x");
args.push_back("c++");