summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-10-19 21:44:57 +0000
committerTed Kremenek <kremenek@apple.com>2009-10-19 21:44:57 +0000
commit428c637ada848e4e5d848693a553ec160ba0bd45 (patch)
treec4faaf9a637333ec6765b7b267d22d4386368b8f /llvm/lib/Transforms/IPO/FunctionAttrs.cpp
parentb9e8c42ee6aea4b7d5be84a92c1311cdb5624b98 (diff)
downloadbcm5719-llvm-428c637ada848e4e5d848693a553ec160ba0bd45.tar.gz
bcm5719-llvm-428c637ada848e4e5d848693a553ec160ba0bd45.zip
The constructor for ASTUnit now takes a DiagnosticClient*, allowing uses of ASTUnit to specify
alternate DiagnosticClients. To match this API, ASTUnit::LoadFromPCHFile() now takes a corresponding DiagnosticClient* argument as well. The DiagnosticClient object is destroyed when the ASTUnit object is destroyed. The CIndex library now uses this API to create a 'IgnoreDiagnosticsClient' that simply silences diagnostics when using the clang_createTranslationUnitFromSourceFile() function. This fixes <rdar://problem/7312058>. This API can change in the future as we add more flexibility for clients. llvm-svn: 84539
Diffstat (limited to 'llvm/lib/Transforms/IPO/FunctionAttrs.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud