
particular don't assume that two declarations of the same kind in the same context are declaring the same entity. That's not true when the same name is declared multiple times as internal-linkage symbols within a module. (getCanonicalDecl is cheap now, so we can just use it here.) llvm-svn: 251898
4 lines
35 B
C++
4 lines
35 B
C++
namespace N {
|
|
const int k = 5;
|
|
}
|