r212789 - TestAfterDivZeroChecker.cpp: Avoid member initializer. It is unsupported in msc17.
Jordan Rose
jordan_rose at apple.com
Thu Jul 10 18:09:54 PDT 2014
Oops, sorry about that.
On Jul 10, 2014, at 17:32 , NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> Author: chapuni
> Date: Thu Jul 10 19:32:35 2014
> New Revision: 212789
>
> URL: http://llvm.org/viewvc/llvm-project?rev=212789&view=rev
> Log:
> TestAfterDivZeroChecker.cpp: Avoid member initializer. It is unsupported in msc17.
>
> Modified:
> cfe/trunk/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp
>
> Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp?rev=212789&r1=212788&r2=212789&view=diff
> ==============================================================================
> --- cfe/trunk/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp (original)
> +++ cfe/trunk/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp Thu Jul 10 19:32:35 2014
> @@ -59,11 +59,11 @@ class DivisionBRVisitor : public BugRepo
> private:
> SymbolRef ZeroSymbol;
> const StackFrameContext *SFC;
> - bool Satisfied = false;
> + bool Satisfied;
>
> public:
> DivisionBRVisitor(SymbolRef ZeroSymbol, const StackFrameContext *SFC)
> - : ZeroSymbol(ZeroSymbol), SFC(SFC) {}
> + : ZeroSymbol(ZeroSymbol), SFC(SFC), Satisfied(false) {}
>
> void Profile(llvm::FoldingSetNodeID &ID) const override {
> ID.Add(ZeroSymbol);
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list