diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2012-02-05 03:08:16 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2012-02-05 03:08:16 +0000 |
commit | b11a7fd2f2204c7aadd74f870c98667d461997f5 (patch) | |
tree | bf0ff759f354d91265b48b80ca2659922a2da1a6 /include/clang/Sema/ScopeInfo.h | |
parent | d79093af384ac0ea78f4237a001eae7467e06a61 (diff) |
Fixing a warning in MSVC (this is also a test commit)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149806 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/ScopeInfo.h')
-rw-r--r-- | include/clang/Sema/ScopeInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Sema/ScopeInfo.h b/include/clang/Sema/ScopeInfo.h index 7ee14de2ab..a060015e5a 100644 --- a/include/clang/Sema/ScopeInfo.h +++ b/include/clang/Sema/ScopeInfo.h @@ -224,7 +224,7 @@ public: /// \brief Determine whether the given variable has been captured. bool isCaptured(VarDecl *Var) const { - return CaptureMap.count(Var) > 0; + return CaptureMap.count(Var); } /// \brief Retrieve the capture of the given variable, if it has been |