]> granicus.if.org Git - clang/commit
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)
commitdde85a8d603a9cc34896c002be2340ebae61407f
tree96000cf6af673f266ef38de653b36c91b050df81
parentf0d7742b7adfacada64b6b9f4f041185ec5ef810
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@279371 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExceptionSpec.cpp
test/SemaCXX/libstdcxx_pair_swap_hack.cpp