From 58021a617bfe01ec15fd2e477e4c5fc2eccc4321 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 17 Mar 2008 21:31:48 +0000 Subject: [PATCH] Properly hook up inline asm transfer function logic to the main GRExprEngine logic. llvm-svn: 48468 --- clang/lib/Analysis/GRExprEngine.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp index cc0923e7968c..d27c41c4ef06 100644 --- a/clang/lib/Analysis/GRExprEngine.cpp +++ b/clang/lib/Analysis/GRExprEngine.cpp @@ -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(S), Pred, Dst); + break; case Stmt::BinaryOperatorClass: { BinaryOperator* B = cast(S); -- GitLab