We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1425c72 commit 7a932f4Copy full SHA for 7a932f4
clang/lib/Parse/ParseStmtAsm.cpp
@@ -581,7 +581,7 @@ StmtResult Parser::ParseMicrosoftAsmStatement(SourceLocation AsmLoc) {
581
std::unique_ptr<llvm::MCSubtargetInfo> STI(
582
TheTarget->createMCSubtargetInfo(TT, TO.CPU, FeaturesStr));
583
// Target MCTargetDesc may not be linked in clang-based tools.
584
- if (!MAI || !MII | !MOFI || !STI) {
+ if (!MAI || !MII || !MOFI || !STI) {
585
Diag(AsmLoc, diag::err_msasm_unable_to_create_target)
586
<< "target MC unavailable";
587
return EmptyStmt();
0 commit comments