summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-05-05 00:41:58 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-05-05 00:41:58 +0000
commit44ebbd54361c88071b2740ded92a13ad7dc5275f (patch)
tree6270237a8c04f9b838239b65c4e2e3b4d0cda682 /clang/lib/Sema/SemaChecking.cpp
parent3238fb759563e64b3fc1f28bb3e184de3d7b07a1 (diff)
downloadbcm5719-llvm-44ebbd54361c88071b2740ded92a13ad7dc5275f.tar.gz
bcm5719-llvm-44ebbd54361c88071b2740ded92a13ad7dc5275f.zip
Replace ArrayRef<T>() with None, now that we have an implicit ArrayRef constructor from None
Patch by Robert Wilhelm. llvm-svn: 181139
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r--clang/lib/Sema/SemaChecking.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index c19fe27c7fe..6b809cfba2e 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -2009,7 +2009,7 @@ public:
PartialDiagnostic PDiag,
SourceLocation StringLoc,
bool IsStringLocation, Range StringRange,
- ArrayRef<FixItHint> Fixit = ArrayRef<FixItHint>());
+ ArrayRef<FixItHint> Fixit = None);
protected:
bool HandleInvalidConversionSpecifier(unsigned argIndex, SourceLocation Loc,
@@ -2036,7 +2036,7 @@ protected:
template <typename Range>
void EmitFormatDiagnostic(PartialDiagnostic PDiag, SourceLocation StringLoc,
bool IsStringLocation, Range StringRange,
- ArrayRef<FixItHint> Fixit = ArrayRef<FixItHint>());
+ ArrayRef<FixItHint> Fixit = None);
void CheckPositionalAndNonpositionalArgs(
const analyze_format_string::FormatSpecifier *FS);
OpenPOWER on IntegriCloud