From: Ted Kremenek Date: Wed, 4 Nov 2009 04:24:44 +0000 (+0000) Subject: Add FIXME. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0360af5d610ba0a65ac46eecf93758fe30457bcd;p=clang Add FIXME. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86004 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/UndefinedAssignmentChecker.cpp b/lib/Analysis/UndefinedAssignmentChecker.cpp index 9df58844dc..c5b2401f47 100644 --- a/lib/Analysis/UndefinedAssignmentChecker.cpp +++ b/lib/Analysis/UndefinedAssignmentChecker.cpp @@ -42,6 +42,8 @@ void UndefinedAssignmentChecker::PreVisitBind(CheckerContext &C, EnhancedBugReport *R = new EnhancedBugReport(*BT, BT->getName().c_str(), N); const Expr *ex = 0; + // FIXME: This check needs to be done on the expression doing the + // assignment, not the "store" expression. if (const BinaryOperator *B = dyn_cast(S)) ex = B->getRHS(); else if (const DeclStmt *DS = dyn_cast(S)) {