Fix some semantic usability issues with DynamicLibrary.
authorZachary Turner <zturner@google.com>
Wed, 27 Aug 2014 18:13:25 +0000 (18:13 +0000)
committerZachary Turner <zturner@google.com>
Wed, 27 Aug 2014 18:13:25 +0000 (18:13 +0000)
commit7132e325d51e33b89d76d248cb831f44f9598e87
treea9351abe9edc469eb93c562c5495a2388071ad89
parentd8e448bd271ce5db4a2417a11689ba8a49bf0035
Fix some semantic usability issues with DynamicLibrary.

This patch allows invalid DynamicLibrary instances to be
constructed, and fixes the const-correctness of the isValid()
method.

No functional change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216571 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/DynamicLibrary.h