[flang-commits] [PATCH] D98256: [flang] Save AllocateObject and PointerObject analyzed expression
Jean Perier via Phabricator via flang-commits
flang-commits at lists.llvm.org
Thu Mar 11 04:46:55 PST 2021
jeanPerier updated this revision to Diff 329926.
jeanPerier added a comment.
Herald added a reviewer: sscalpone.
Move the typedExpr setting in expression analysis. Update dump and unparse to use
the typed expression. Add a HasTypeExpr<T> helper to better share the logic when that
is possible and easy.
Update check-nullify.cpp/check-deallocate.cpp to use the typedExpr instead of
re-analysizing the expression.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98256/new/
https://reviews.llvm.org/D98256
Files:
flang/include/flang/Parser/dump-parse-tree.h
flang/include/flang/Parser/parse-tree.h
flang/include/flang/Parser/tools.h
flang/include/flang/Semantics/expression.h
flang/include/flang/Semantics/tools.h
flang/lib/Parser/unparse.cpp
flang/lib/Semantics/check-deallocate.cpp
flang/lib/Semantics/check-nullify.cpp
flang/lib/Semantics/expression.cpp
flang/lib/Semantics/tools.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98256.329926.patch
Type: text/x-patch
Size: 12033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210311/c3290dee/attachment-0001.bin>
More information about the flang-commits
mailing list