Remove LLVMContextImpl::optimizationRemarkEnabledFor.
authorDiego Novillo <dnovillo@google.com>
Thu, 22 May 2014 17:19:01 +0000 (17:19 +0000)
committerDiego Novillo <dnovillo@google.com>
Thu, 22 May 2014 17:19:01 +0000 (17:19 +0000)
commit0b761a48cf017079907d520ffb1177f04037c037
tree9415315ee7e85b752e9710f626792af9a6378a09
parentfbce07ced0a4170db71b75dda6022e175e2a5ad1
Remove LLVMContextImpl::optimizationRemarkEnabledFor.

Summary:
This patch moves the handling of -pass-remarks* over to
lib/DiagnosticInfo.cpp. This allows the removal of the
optimizationRemarkEnabledFor functions from LLVMContextImpl, as they're
not needed anymore.

Reviewers: qcolombet

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D3878

llvm-svn: 209453
llvm/include/llvm/IR/DiagnosticInfo.h
llvm/lib/IR/DiagnosticInfo.cpp
llvm/lib/IR/LLVMContext.cpp
llvm/lib/IR/LLVMContextImpl.cpp
llvm/lib/IR/LLVMContextImpl.h