summaryrefslogtreecommitdiff
path: root/lib/Basic/FileSystemStatCache.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-06-10 23:29:48 +0000
committerReid Kleckner <reid@kleckner.net>2014-06-10 23:29:48 +0000
commit4ed0870592c05a5c6f80268bdaf62a081c47477f (patch)
treeac488872253455f43e3c99dcd76e809a7c141304 /lib/Basic/FileSystemStatCache.cpp
parenta438edc06abbe6f78fc5cc692b6aaecf0730eb08 (diff)
downloadclang-4ed0870592c05a5c6f80268bdaf62a081c47477f.tar.gz
clang-4ed0870592c05a5c6f80268bdaf62a081c47477f.tar.bz2
clang-4ed0870592c05a5c6f80268bdaf62a081c47477f.tar.xz
Recover from missing typenames on template args for MSVC compatibility
While matching a non-type template argument against a known template type parameter we now modify the AST's TemplateArgumentLoc to assume the user wrote typename. Under -fms-compatibility, we downgrade our diagnostic from an error to an extwarn. Reviewed by: rsmith Differential Revision: http://reviews.llvm.org/D4049 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210607 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions