llvm-project/flang/lib
Tim Keith 044a71d828 [flang] Don't attempt to compute element size if no DynamicType
If an error has occurred a symbol may have a DeclTypeSpec but no
valid DynamicType. There is no need to compute the size of erroneous
symbols.

Also, we only need to process object entities and procedure entities.
All other kinds of symbols can be skipped.

This fixes another problem revealed by https://bugs.llvm.org/show_bug.cgi?id=47265

Differential Revision: https://reviews.llvm.org/D86484
2020-08-24 18:20:24 -07:00
..
Common [flang] Use the Flang cmake-functions to add targets. 2020-04-16 15:51:30 +01:00
Decimal Remove unneeded RoundDefault enumerator, and fix spelling in comments 2020-08-03 16:14:24 -07:00
Evaluate [flang] Improve error messages for procedures in expressions 2020-08-18 10:47:55 -07:00
Lower [flang] Remove extra CMAKE_CXX_FLAGS in Lower and Optimizer 2020-08-07 10:21:54 -07:00
Optimizer [mlir] Remove the use of "kinds" from Attributes and Types 2020-08-18 16:20:14 -07:00
Parser [flang][openacc] Fix reduction operator parsing/unparsing 2020-08-24 14:22:51 -04:00
Semantics [flang] Don't attempt to compute element size if no DynamicType 2020-08-24 18:20:24 -07:00
CMakeLists.txt [flang] A rework of the cmake build components for in and out of tree builds. 2020-03-26 18:17:04 +00:00