]> granicus.if.org Git - clang/commit
[modules] Track all default template arguments for a given parameter across
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 10 Jun 2015 20:30:23 +0000 (20:30 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 10 Jun 2015 20:30:23 +0000 (20:30 +0000)
commitfc970014c204eae2421c814bf240999b105b01fc
tree0a3f93ef56fde5856f3d6359ffd5bfc115553fec
parentd7421384ecab5271594595cf3ebda3580a6f366a
[modules] Track all default template arguments for a given parameter across
modules, and allow use of a default template argument if any of the parameters
providing it is visible.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239485 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclTemplate.h
include/clang/Sema/Lookup.h
include/clang/Sema/Sema.h
lib/AST/DeclTemplate.cpp
lib/Sema/SemaLookup.cpp
lib/Sema/SemaTemplate.cpp
lib/Serialization/ASTReaderDecl.cpp
test/Modules/Inputs/template-default-args/a.h
test/Modules/Inputs/template-default-args/c.h [new file with mode: 0644]
test/Modules/Inputs/template-default-args/module.modulemap
test/Modules/template-default-args.cpp