[cfe-commits] r149806 - /cfe/trunk/include/clang/Sema/ScopeInfo.h
AaronBallman at llvm.org
AaronBallman at llvm.org
Sat Feb 4 19:08:17 PST 2012
Author: AaronBallman
Date: Sat Feb 4 21:08:16 2012
New Revision: 149806
URL: http://llvm.org/viewvc/llvm-project?rev=149806&view=rev
Log:
Fixing a warning in MSVC (this is also a test commit)
Modified:
cfe/trunk/include/clang/Sema/ScopeInfo.h
Modified: cfe/trunk/include/clang/Sema/ScopeInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/ScopeInfo.h?rev=149806&r1=149805&r2=149806&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/ScopeInfo.h (original)
+++ cfe/trunk/include/clang/Sema/ScopeInfo.h Sat Feb 4 21:08:16 2012
@@ -224,7 +224,7 @@
/// \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
More information about the cfe-commits
mailing list