http://llvm.org/bugs/show_bug.cgi?id=19735

            Bug ID: 19735
           Summary: CompilerInstance::ExecuteAction() prints error count
                    to llvm::errs() when ShowCarets enabled
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

CompilerInstance::ExecuteAction() will print the number of errors and warnings
to llvm::errs() when ShowCarets is enabled.  This is an issue for applications
which use clang as a library who don't want output to be printed to stderr.

I'm not sure why this code is conditional on ShowCarets being enabled, but
there
is a FIXME at the top of the function that a raw_ostream parameter should be
used
instead of llvm::errs().

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to