Skip to content
Commit 5899e19d authored by Larisse Voufo's avatar Larisse Voufo
Browse files

Fix linkage bug that miscompiled variable templates instantiated from...

Fix linkage bug that miscompiled variable templates instantiated from similarly named local types. In essence, this bug ensures that the x<Foo> specialization in function foo() defined as follows differs between two distinct translation units.
    static int &foo() {
       struct Foo { };
       return x<Foo>;
    }

llvm-svn: 212233
parent c67aa540
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment