1. added double dash option to test to avoid warning message about compilation database
2. fixed cmake resource folder discovery for standalone build case
This commit is contained in:
@@ -685,6 +685,9 @@ int main(int argc, const char **argv) {
|
||||
{
|
||||
Tool.appendArgumentsAdjuster(getInsertArgumentAdjuster(Stage, ArgumentInsertPosition::BEGIN));
|
||||
Tool.appendArgumentsAdjuster(getInsertArgumentAdjuster("-std=c++11"));
|
||||
#if defined(HIPIFY_CLANG_RES)
|
||||
Tool.appendArgumentsAdjuster(getInsertArgumentAdjuster("-resource-dir=" HIPIFY_CLANG_RES));
|
||||
#endif // defined(HIPIFY_CLANG_HEADERS)
|
||||
Tool.appendArgumentsAdjuster(getClangSyntaxOnlyAdjuster());
|
||||
Result = Tool.run(action.get());
|
||||
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user