diff options
author | Nick Kledzik <kledzik@apple.com> | 2013-11-14 02:38:07 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2013-11-14 02:38:07 +0000 |
commit | 04fca67d6f4b314ba618714698b58dbfba3af005 (patch) | |
tree | 96b4e3f0ffe4a83918bb125ad8297fdc48743eae /lib/Support/YAMLTraits.cpp | |
parent | e2058ff5bd4fa0397b57f6bdd84e5a5aa2343433 (diff) | |
download | external_llvm-04fca67d6f4b314ba618714698b58dbfba3af005.zip external_llvm-04fca67d6f4b314ba618714698b58dbfba3af005.tar.gz external_llvm-04fca67d6f4b314ba618714698b58dbfba3af005.tar.bz2 |
Add dyn_cast<> support to YAML I/O's IO class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/YAMLTraits.cpp')
-rw-r--r-- | lib/Support/YAMLTraits.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/YAMLTraits.cpp b/lib/Support/YAMLTraits.cpp index 415424e..b32ef40 100644 --- a/lib/Support/YAMLTraits.cpp +++ b/lib/Support/YAMLTraits.cpp @@ -59,7 +59,7 @@ void Input::setDiagHandler(SourceMgr::DiagHandlerTy Handler, void *Ctxt) { SrcMgr.setDiagHandler(Handler, Ctxt); } -bool Input::outputting() { +bool Input::outputting() const { return false; } @@ -382,7 +382,7 @@ Output::Output(raw_ostream &yout, void *context) Output::~Output() { } -bool Output::outputting() { +bool Output::outputting() const { return true; } |