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

            Bug ID: 38383
           Summary: Missing negation in if statement, error message will
                    be ignored
           Product: lldb
           Version: 6.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-...@lists.llvm.org
          Reporter: nat-llvmb...@mulle-kybernetik.com
                CC: llvm-bugs@lists.llvm.org

https://github.com/llvm-mirror/lldb/blob/a56b1c63bd3cd0a7a4e90045f804b0c66e6a4ca3/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp#L895

The code should read instead:

```
            if (! install_diagnostics.Diagnostics().size())
              err.SetErrorString("couldn't install checkers, unknown error");
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to