aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-03-28 16:26:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-03-28 16:26:16 +0000
commit94cf910ac2d1719c1dfc163bbec3953f12efdf6f (patch)
treec0b5dd17d1deb50bba312d835a50b84e2b27126d /include/clang/Analysis
parent697462881c4b9b704c7859f4bab0a6116c684bb1 (diff)
These are all simple pointer wrappers. Pass them by value.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis')
-rw-r--r--include/clang/Analysis/CFG.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Analysis/CFG.h b/include/clang/Analysis/CFG.h
index eb0e18ad84..57f980ef4c 100644
--- a/include/clang/Analysis/CFG.h
+++ b/include/clang/Analysis/CFG.h
@@ -843,7 +843,7 @@ namespace llvm {
/// CFGTerminator to a specific Stmt class.
template <> struct simplify_type< ::clang::CFGTerminator> {
typedef ::clang::Stmt *SimpleType;
- static SimpleType getSimplifiedValue(::clang::CFGTerminator &Val) {
+ static SimpleType getSimplifiedValue(::clang::CFGTerminator Val) {
return Val.getStmt();
}
};