diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-10-19 22:15:09 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-10-19 22:15:09 +0000 |
commit | 1374598619f83e6b2de91341a326eae564ece2cb (patch) | |
tree | b7b290b13bb930b6d0039e05b12281b37a31f159 /lib/CodeGen/CodeGenFunction.h | |
parent | dd62b15665a4144c45c1f7c53665414ad5f7f4f2 (diff) |
Really fix <rdar://problem/7312058> by adding a 'displayDiagnostics' option to
clang_createTranslationUnit() and clang_createTranslationUnitFromSourceFile(). The user can now
specify if the diagnostics from Clang are printed to stderr or are silenced completely. We can
obviously evolve this API to be more general in the future.
Note: Added a FIXME since I wasn't certain what was the best way to redirect to something analogous
to '/dev/null' on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions