]> granicus.if.org Git - clang/commit
Keep the IfStmt node even if the condition is invalid
authorOlivier Goffart <ogoffart@woboq.com>
Sun, 11 Oct 2015 17:27:29 +0000 (17:27 +0000)
committerOlivier Goffart <ogoffart@woboq.com>
Sun, 11 Oct 2015 17:27:29 +0000 (17:27 +0000)
commitbef3a5b7e535a42e509705739582930a79621f20
tree7070158c838066cbf8bf66c9f465751049148725
parent3a93df9f734f8b0765d11ff7c31c85a9100c701b
Keep the IfStmt node even if the condition is invalid

This is important to keep the information in IDE or other tools
even if the code contains a few errors

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249982 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaStmt.cpp
test/Misc/ast-dump-invalid.cpp