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.
2 parents 1f82042 + 7a932f4 commit 63699cdCopy full SHA for 63699cd
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