summaryrefslogtreecommitdiff
path: root/lib/Parse/ParseObjc.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-02-21 01:47:18 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-02-21 01:47:18 +0000
commit66874fb18afbffb8b2ca05576851a64534be3352 (patch)
treed6391d232c549a7ec1e6bb31a943e468aac589d9 /lib/Parse/ParseObjc.cpp
parent65124fe81f61eed98b845c87e3a78a780f3deb11 (diff)
downloadclang-66874fb18afbffb8b2ca05576851a64534be3352.tar.gz
clang-66874fb18afbffb8b2ca05576851a64534be3352.tar.bz2
clang-66874fb18afbffb8b2ca05576851a64534be3352.tar.xz
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
Diffstat (limited to 'lib/Parse/ParseObjc.cpp')
-rw-r--r--lib/Parse/ParseObjc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseObjc.cpp b/lib/Parse/ParseObjc.cpp
index 27eeb0545f..ddb6a707f5 100644
--- a/lib/Parse/ParseObjc.cpp
+++ b/lib/Parse/ParseObjc.cpp
@@ -2730,7 +2730,7 @@ ExprResult Parser::ParseObjCDictionaryLiteral(SourceLocation AtLoc) {
// We have a valid expression. Collect it in a vector so we can
// build the argument list.
ObjCDictionaryElement Element = {
- KeyExpr.get(), ValueExpr.get(), EllipsisLoc, Optional<unsigned>()
+ KeyExpr.get(), ValueExpr.get(), EllipsisLoc, None
};
Elements.push_back(Element);