From: Ted Kremenek Date: Tue, 25 Sep 2007 04:30:51 +0000 (+0000) Subject: Added extra "constness" to parameter. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9bfa8c49c22de789ca719a6324f80ec90bb18f0;p=clang Added extra "constness" to parameter. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42292 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/UninitializedValues.h b/include/clang/Analysis/UninitializedValues.h index 8cfa29efc0..68bac26c9a 100644 --- a/include/clang/Analysis/UninitializedValues.h +++ b/include/clang/Analysis/UninitializedValues.h @@ -78,7 +78,7 @@ public: return DeclBV == RHS.DeclBV && ExprBV == RHS.ExprBV; } - void copyValues(ValTy& RHS) { + void copyValues(const ValTy& RHS) { DeclBV = RHS.DeclBV; ExprBV = RHS.ExprBV; }