llvm/flang/lib/semantics
Tim Keith 9ae71a0357 [flang] Fix crash evaluating kind expression
If we fail to evaluate the kind expression we were getting an invalid
optional reference. Instead, fail with an assert. This can happen if an
intrinsic function is not folded, but that will be implemented
eventually.

Original-commit: flang-compiler/f18@3bdbfc34bb
Reviewed-on: https://github.com/flang-compiler/f18/pull/256
Tree-same-pre-rewrite: false
2019-01-08 12:14:35 -08:00
..
assignment.cc [flang] checkpoint during refactor 2018-11-30 14:03:05 -08:00
assignment.h [flang] checkpoint during refactor 2018-11-30 14:03:05 -08:00
attr.cc [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
attr.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
canonicalize-do.cc [flang] Change formatting of common::visitors{} 2018-11-29 09:27:34 -08:00
canonicalize-do.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
check-do-concurrent.cc [flang] Refactoring: improve some names 2018-12-17 12:41:43 -08:00
check-do-concurrent.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
CMakeLists.txt [flang] checkpoint during refactor 2018-11-30 14:03:05 -08:00
default-kinds.cc [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
default-kinds.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
dump-parse-tree.h [flang] Roll up small tweaks to parser and semantics. 2019-01-07 15:38:48 -08:00
expression.cc [flang] fix copyright dates 2019-01-07 15:50:04 -08:00
expression.h [flang] update copyright dates 2019-01-07 10:55:09 -08:00
mod-file.cc [flang] Resolve name in PASS and BIND attributes 2019-01-08 12:14:35 -08:00
mod-file.h [flang] Add support for type-bound generics 2018-12-26 14:31:26 -08:00
resolve-labels.cc [flang] Roll up small tweaks to parser and semantics. 2019-01-07 15:38:48 -08:00
resolve-labels.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
resolve-names.cc [flang] Fix crash evaluating kind expression 2019-01-08 12:14:35 -08:00
resolve-names.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
rewrite-parse-tree.cc [flang] Change when symbol is set in parser::Name 2018-12-06 07:16:52 -08:00
rewrite-parse-tree.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00
scope.cc [flang] Update copyright dates. 2019-01-07 15:42:36 -08:00
scope.h [flang] Update copyright dates. 2019-01-07 15:42:36 -08:00
semantics.cc [flang] Refactoring: improve some names 2018-12-17 12:41:43 -08:00
semantics.h [flang] Refactoring: improve some names 2018-12-17 12:41:43 -08:00
symbol.cc [flang] Resolve name in PASS and BIND attributes 2019-01-08 12:14:35 -08:00
symbol.h [flang] Resolve name in PASS and BIND attributes 2019-01-08 12:14:35 -08:00
type.cc [flang] Update copyright dates. 2019-01-07 15:42:36 -08:00
type.h [flang] Update copyright dates. 2019-01-07 15:42:36 -08:00
unparse-with-symbols.cc [flang] Change when symbol is set in parser::Name 2018-12-06 07:16:52 -08:00
unparse-with-symbols.h [flang] Changed .clang-format so that it will not add a comment after the closing brace of each namespace. Removed all such previous comments from all .cc and .h files 2018-10-25 05:55:23 -07:00