diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-09-14 03:06:20 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-09-14 03:06:20 +0000 |
commit | 9c1fa35e5f798423a232b79b17c344ea43f9b1c5 (patch) | |
tree | 902cebdf3933bb7db7350398df4ec524e794b1d6 | |
parent | cd851f808569a2ff153370c0a8f5c17bcb2bdc5f (diff) | |
download | bcm5719-llvm-9c1fa35e5f798423a232b79b17c344ea43f9b1c5.tar.gz bcm5719-llvm-9c1fa35e5f798423a232b79b17c344ea43f9b1c5.zip |
[asan] Add const into ScarinessScoreBase::Print
llvm-svn: 313225
-rw-r--r-- | compiler-rt/lib/asan/asan_scariness_score.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_scariness_score.h b/compiler-rt/lib/asan/asan_scariness_score.h index 7f1571416fd..7f095dd29f2 100644 --- a/compiler-rt/lib/asan/asan_scariness_score.h +++ b/compiler-rt/lib/asan/asan_scariness_score.h @@ -47,7 +47,7 @@ struct ScarinessScoreBase { }; int GetScore() const { return score; } const char *GetDescription() const { return descr; } - void Print() { + void Print() const { if (score && flags()->print_scariness) Printf("SCARINESS: %d (%s)\n", score, descr); } |