]> granicus.if.org Git - clang/commitdiff
Properly hook up inline asm transfer function logic to the main GRExprEngine logic.
authorTed Kremenek <kremenek@apple.com>
Mon, 17 Mar 2008 21:31:48 +0000 (21:31 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 17 Mar 2008 21:31:48 +0000 (21:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48468 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/GRExprEngine.cpp

index cc0923e7968ca90105c8d392ce95ece0e34e3850..d27c41c4ef06b49cc587c54559bbf999e8d7abd8 100644 (file)
@@ -1408,6 +1408,10 @@ void GRExprEngine::Visit(Stmt* S, NodeTy* Pred, NodeSet& Dst) {
       
       Dst.Add(Pred); // No-op. Simply propagate the current state unchanged.
       break;
+      
+    case Stmt::AsmStmtClass:
+      VisitAsmStmt(cast<AsmStmt>(S), Pred, Dst);
+      break;
                                                        
     case Stmt::BinaryOperatorClass: {
       BinaryOperator* B = cast<BinaryOperator>(S);