[HIPIFY] Introduce '-D' option as hipify-clang's one

+ '-D' might be set as hipify-clang option (before separator '--' or without specifying separator at all);
+ '-D' as a clang option might be specified as well (after options separator '--');
+ All defines specified as hipify-clang defines (before options separator '--') will be set after clang's ones and will redefine the same clang's ones.
Dieser Commit ist enthalten in:
Evgeny Mankov
2019-01-14 19:34:42 +03:00
Ursprung 93aeb04cec
Commit 13ffeb47ce
3 geänderte Dateien mit 15 neuen und 1 gelöschten Zeilen
+1
Datei anzeigen
@@ -34,6 +34,7 @@ extern cl::opt<std::string> OutputDir;
extern cl::opt<std::string> TemporaryDir;
extern cl::opt<std::string> CudaPath;
extern cl::list<std::string> I;
extern cl::list<std::string> D;
extern cl::opt<bool> Inplace;
extern cl::opt<bool> SaveTemps;
extern cl::opt<bool> NoBackup;