summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-10-19 23:39:55 +0000
committerReid Kleckner <rnk@google.com>2016-10-19 23:39:55 +0000
commit6432d45f7b97e37535e62ab3b505d327c99ed74c (patch)
tree9f9dbc89ba1486b14a6ba4fa401ff497574b9896 /clang/lib/Format
parent0b5102fd7eaac660e586648c9ce0ef4b74822788 (diff)
downloadbcm5719-llvm-6432d45f7b97e37535e62ab3b505d327c99ed74c.tar.gz
bcm5719-llvm-6432d45f7b97e37535e62ab3b505d327c99ed74c.zip
Use noexcept instead of LLVM_NOEXCEPT now that all compilers support it
llvm-svn: 284667
Diffstat (limited to 'clang/lib/Format')
-rw-r--r--clang/lib/Format/Format.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 2a47c2f5cfb..dfcd677cf89 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -420,7 +420,7 @@ std::error_code make_error_code(ParseError e) {
return std::error_code(static_cast<int>(e), getParseCategory());
}
-const char *ParseErrorCategory::name() const LLVM_NOEXCEPT {
+const char *ParseErrorCategory::name() const noexcept {
return "clang-format.parse_error";
}
OpenPOWER on IntegriCloud