diff options
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/Basic/Diagnostic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/Diagnostic.h b/include/clang/Basic/Diagnostic.h index c587a1d6e2..3aa1d55c10 100644 --- a/include/clang/Basic/Diagnostic.h +++ b/include/clang/Basic/Diagnostic.h @@ -479,7 +479,7 @@ public: /// \brief Add the specified mapping to all diagnostics. Mainly to be used /// by -Wno-everything to disable all warnings but allow subsequent -W options /// to enable specific warnings. - bool setMappingToAllDiagnostics(diag::Mapping Map, + void setMappingToAllDiagnostics(diag::Mapping Map, SourceLocation Loc = SourceLocation()); bool hasErrorOccurred() const { return ErrorOccurred; } |