summaryrefslogtreecommitdiffstats
path: root/patchoat
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-02-23 08:12:24 -0800
committerAndreas Gampe <agampe@google.com>2015-02-23 10:23:06 -0800
commit794ad76e8d5b5b9132819d5b08a0570e27615644 (patch)
tree74b420e4337ecf9e5df689cc376fa965d765a908 /patchoat
parentd98ff78976696fdde1e7868d4687719a0439544b (diff)
downloadart-794ad76e8d5b5b9132819d5b08a0570e27615644.tar.gz
art-794ad76e8d5b5b9132819d5b08a0570e27615644.tar.bz2
art-794ad76e8d5b5b9132819d5b08a0570e27615644.zip
ART: Introduce NO_RETURN, Mark DoLongJump noreturn
Add NO_RETURN macro that adds C++11 noreturn attribute. Mark DoLongJump methods as noreturn. Change-Id: Ifde4318e370493237050d4c1349285a0382df23f
Diffstat (limited to 'patchoat')
-rw-r--r--patchoat/patchoat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc
index 2059a96c7..3c6a23d8a 100644
--- a/patchoat/patchoat.cc
+++ b/patchoat/patchoat.cc
@@ -763,7 +763,7 @@ static void UsageError(const char* fmt, ...) {
va_end(ap);
}
-[[noreturn]] static void Usage(const char *fmt, ...) {
+NO_RETURN static void Usage(const char *fmt, ...) {
va_list ap;
va_start(ap, fmt);
UsageErrorV(fmt, ap);