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 | 02b319ce18c31666beec2df69c47c5863af80a1d (patch) | |
| tree | d22305514337b542186fb849431b7536634ceaa5 /llvm/lib | |
| parent | 168ad6985ee1245071922f8afa5d8216be260918 (diff) | |
| download | bcm5719-llvm-02b319ce18c31666beec2df69c47c5863af80a1d.tar.gz bcm5719-llvm-02b319ce18c31666beec2df69c47c5863af80a1d.zip | |
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.
llvm-svn: 84548
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

