https://bugs.llvm.org/show_bug.cgi?id=47071

            Bug ID: 47071
           Summary: Bit-wise operators should not be used where logical
                    operators should be used. ( | should be
                    ||)(llvm-project/clang/lib/Parse/ParseStmtAsm.cpp:line
                    584)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Bit-wise operators should not be used where logical operators should be used. (
| should be ||)

commit e3546c78cabfbf670391a57766872f0a8e28a423

llvm-project/clang/lib/Parse/ParseStmtAsm.cpp:line 584

   584    if (!MAI || !MII | !MOFI || !STI) {
   585      Diag(AsmLoc, diag::err_msasm_unable_to_create_target)
   586          << "target MC unavailable";
   587      return EmptyStmt();
   588    }

Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-5.2: Bit-wise operators should not be used where logical operators
should be used. ( | should be ||))

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to