return V.convertToDouble();
}
-int StringLiteral::mapCharByteWidth(TargetInfo const &target, StringKind k) {
- int CharByteWidth = 0;
+int StringLiteral::mapCharByteWidth(TargetInfo const &target,StringKind k) {
+ int CharByteWidth;
switch(k) {
case Ascii:
case UTF8:
llvm::BasicBlock *ContBlock = CGF.createBasicBlock("cond.end");
// Bind the common expression if necessary.
- CodeGenFunction::OpaqueValueMapping(CGF, E);
+ CodeGenFunction::OpaqueValueMapping binding(CGF, E);
CodeGenFunction::ConditionalEvaluation eval(CGF);
CGF.EmitBranchOnBoolExpr(E->getCond(), LHSBlock, RHSBlock);
llvm::BasicBlock *ContBlock = CGF.createBasicBlock("cond.end");
// Bind the common expression if necessary.
- CodeGenFunction::OpaqueValueMapping(CGF, E);
+ CodeGenFunction::OpaqueValueMapping binding(CGF, E);
CodeGenFunction::ConditionalEvaluation eval(CGF);
CGF.EmitBranchOnBoolExpr(E->getCond(), LHSBlock, RHSBlock);
TestAndClearIgnoreResultAssign();
// Bind the common expression if necessary.
- CodeGenFunction::OpaqueValueMapping(CGF, E);
+ CodeGenFunction::OpaqueValueMapping binding(CGF, E);
Expr *condExpr = E->getCond();
Expr *lhsExpr = E->getTrueExpr();
const Driver &D = getToolChain().getDriver();
StringRef ArchName;
- const char *CPUName = 0;
+ const char *CPUName;
// Set target cpu and architecture.
if (Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) {
RedeclKind Kind = (RedeclKind)Record[Idx++];
// Determine the first declaration ID.
- DeclID FirstDeclID = 0;
+ DeclID FirstDeclID;
switch (Kind) {
case FirstDeclaration: {
FirstDeclID = ThisDeclID;
enum RedeclKind { FirstDeclaration = 0, FirstInFile, PointsToPrevious };
RedeclKind Kind = (RedeclKind)Record[Idx++];
- DeclID FirstDeclID = 0;
+ DeclID FirstDeclID;
switch (Kind) {
case FirstDeclaration:
FirstDeclID = ThisDeclID;