Make getDefinitiveDeclContext() actually return a DeclContext, as one
authorDouglas Gregor <dgregor@apple.com>
Tue, 22 Jan 2013 17:08:30 +0000 (17:08 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 22 Jan 2013 17:08:30 +0000 (17:08 +0000)
commit7a6e20070dc5e3a1f1079619e9429f0c288f9b32
tree6134377973ca981293b5721d811e5cfdbd043841
parentbbe1394c9602ab9a939d9b17199d5f538cac9d0c
Make getDefinitiveDeclContext() actually return a DeclContext, as one
would expect, and clean up the return/break inconsistencies. Thanks,
Sebastian!

llvm-svn: 173171
clang/lib/Serialization/ASTCommon.cpp
clang/lib/Serialization/ASTCommon.h
clang/lib/Serialization/ASTReader.cpp