diff options
| -rw-r--r-- | clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h index 2d14bdf0bf8..0aa41929638 100644 --- a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h +++ b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h @@ -255,7 +255,7 @@ public: /// allows you to specify where exactly in the auto-generated path diagnostic /// the extra note should appear. void addNote(StringRef Msg, const PathDiagnosticLocation &Pos, - ArrayRef<SourceRange> Ranges = {}) { + ArrayRef<SourceRange> Ranges) { PathDiagnosticNotePiece *P = new PathDiagnosticNotePiece(Pos, Msg); |

