data: ignore MS-style ASM errors

* ignoring a certain error message for MS-style inline assemblies that is thrown by clang.
This commit is contained in:
malte_langkabel
2016-02-16 17:43:40 +01:00
parent 19e03aeec7
commit 70a9394d94
@@ -60,6 +60,11 @@ void CxxDiagnosticConsumer::HandleDiagnostic(clang::DiagnosticsEngine::Level lev
info.FormatDiagnostic(messageStr);
std::string message = messageStr.str();
if (message == "MS-style inline assembly is not available: Unable to find target for this triple (no targets are registered)")
{
return;
}
std::string filePath;
uint line = 0;
uint column = 0;