summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-08-14 23:34:52 +0000
committerReid Kleckner <reid@kleckner.net>2014-08-14 23:34:52 +0000
commit062be331e29b88c72826ed04840e45a8df2b97aa (patch)
tree908f0e8ca7c959014281e6605569b0ffcc098782 /llvm/lib/Target/PowerPC
parent81db58e177c842b79de0c44767a8eb8695edf82f (diff)
downloadbcm5719-llvm-062be331e29b88c72826ed04840e45a8df2b97aa.tar.gz
bcm5719-llvm-062be331e29b88c72826ed04840e45a8df2b97aa.zip
Limit our MSVC compat hack for nested names from dependent bases
Previously, any undeclared unqualified id starting a nested name specifier in a dependent context would have its lookup retried during template instantiation. Now we limit that retry hack to methods of a class with dependent bases. Free function templates in particular are no longer affected by this hack. Also, diagnose this as a Microsoft extension. This has the downside that template authors may see this warning *and* an error during instantiation time about this identifier. Fixing that will probably require formalizing some kind of "delayed" identifier, instead of our ad-hoc solutions of forming dependent AST nodes when lookup fails. Based on a patch by Kim Gräsman! Differential Revision: http://reviews.llvm.org/D4854 llvm-svn: 215683
Diffstat (limited to 'llvm/lib/Target/PowerPC')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud