commit | 66874fb18afbffb8b2ca05576851a64534be3352 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Thu Feb 21 01:47:18 2013 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Thu Feb 21 01:47:18 2013 +0000 |
tree | d6391d232c549a7ec1e6bb31a943e468aac589d9 | |
parent | 65124fe81f61eed98b845c87e3a78a780f3deb11 [diff] [blame] |
Use None rather than Optional<T>() where possible. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175705 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaTemplate.cpp b/lib/Sema/SemaTemplate.cpp index c3e3149..61fd826 100644 --- a/lib/Sema/SemaTemplate.cpp +++ b/lib/Sema/SemaTemplate.cpp
@@ -3036,7 +3036,7 @@ return TTP->getNumExpansionTemplateParameters(); } - return Optional<unsigned>(); + return None; } /// \brief Check that the given template argument list is well-formed