PR28423: Compare primary declaration contexts.
authorVassil Vassilev <v.g.vassilev@gmail.com>
Sat, 20 Aug 2016 14:50:22 +0000 (14:50 +0000)
committerVassil Vassilev <v.g.vassilev@gmail.com>
Sat, 20 Aug 2016 14:50:22 +0000 (14:50 +0000)
commit8643639ab4248ce9ecf50490d00026c88b688f77
tree76815c03002f92977717e9f3f710ce130a25d8b5
parent235e479984b97758b7419f995a3f035c230fae9d
PR28423: Compare primary declaration contexts.

In certain cases (mostly coming from modules), Sema's idea of the StdNamespace
does not point to the first declaration of namespace std.

Patch by Cristina Cristescu!

Reviewed by Richard Smith.

llvm-svn: 279371
clang/lib/Sema/SemaExceptionSpec.cpp
clang/test/SemaCXX/libstdcxx_pair_swap_hack.cpp