[compiler-rt] r313225 - [asan] Add const into ScarinessScoreBase::Print
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 20:06:20 PDT 2017
Author: vitalybuka
Date: Wed Sep 13 20:06:20 2017
New Revision: 313225
URL: http://llvm.org/viewvc/llvm-project?rev=313225&view=rev
Log:
[asan] Add const into ScarinessScoreBase::Print
Modified:
compiler-rt/trunk/lib/asan/asan_scariness_score.h
Modified: compiler-rt/trunk/lib/asan/asan_scariness_score.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_scariness_score.h?rev=313225&r1=313224&r2=313225&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_scariness_score.h (original)
+++ compiler-rt/trunk/lib/asan/asan_scariness_score.h Wed Sep 13 20:06:20 2017
@@ -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);
}
More information about the llvm-commits
mailing list