projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26607f7
)
Silencing a spurious -Wuninitialized warning with this local; NFC.
author
Aaron Ballman
<aaron@aaronballman.com>
Tue, 28 Apr 2015 12:36:54 +0000
(12:36 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Tue, 28 Apr 2015 12:36:54 +0000
(12:36 +0000)
llvm-svn: 235981
clang/lib/Sema/SemaLambda.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaLambda.cpp
b/clang/lib/Sema/SemaLambda.cpp
index
80c6df0
..
e9c76b6
100644
(file)
--- a/
clang/lib/Sema/SemaLambda.cpp
+++ b/
clang/lib/Sema/SemaLambda.cpp
@@
-1482,7
+1482,7
@@
ExprResult Sema::BuildLambdaExpr(SourceLocation StartLoc, SourceLocation EndLoc,
// Collect information from the lambda scope.
SmallVector<LambdaCapture, 4> Captures;
SmallVector<Expr *, 4> CaptureInits;
- LambdaCaptureDefault CaptureDefault;
+ LambdaCaptureDefault CaptureDefault
= LCD_None
;
SourceLocation CaptureDefaultLoc;
CXXRecordDecl *Class;
CXXMethodDecl *CallOperator;