diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-26 13:12:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-26 14:34:30 +0100 |
commit | 2db16f4bdc9f6e4136c20995ab688b75819d8b35 (patch) | |
tree | 4cd0a30e7b5eea28b99019a4258bb5b6f53b66fb | |
parent | 8631cecb8631228e02badafb315a5294338c5c0c (diff) |
-Werror=return-type
Change-Id: I7691fa50d827b688cab299c85c933adabb29994c
-rw-r--r-- | compilerplugins/clang/stringconstant.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/stringconstant.cxx b/compilerplugins/clang/stringconstant.cxx index 0749abb3ddd0..456413c6eb99 100644 --- a/compilerplugins/clang/stringconstant.cxx +++ b/compilerplugins/clang/stringconstant.cxx @@ -9,6 +9,7 @@ #include <algorithm> #include <cassert> +#include <cstdlib> #include <limits> #include <stack> #include <string> @@ -805,6 +806,8 @@ std::string StringConstant::describeChangeKind(ChangeKind kind) { return "string constant and matching length arguments"; case ChangeKind::SingleChar: return "ASCII sal_Unicode argument"; + default: + std::abort(); } } |