llvm/flang/lib/semantics
Tim Keith b8b53ba2f4 [flang] Refactoring: improve some names
IntrinsicTypeSpec was used for all intrinsics except for character.
Change it to be a common base class for NumericTypeSpec,
LogicalTypeSpec, and CharacterTypeSpec.

Change DeclTypeSpec to categorize the intrinsics as Numeric, Logical,
and Character. Add some utility methods: AsIntrinsic() and IsNumeric().

In scope.h, give the functions that create DeclTypeSpecs better names.

In semantics.h, replace MakeIntrinsicTypeSpec() with MakeNumericType()
and MakeLogicalType() as it does not apply to character types.

Original-commit: flang-compiler/f18@8ad92d069c
Reviewed-on: https://github.com/flang-compiler/f18/pull/247
Tree-same-pre-rewrite: false
2018-12-17 12:41:43 -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] 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
expression.cc [flang] Rework when symbol table expressions are evaluated 2018-12-06 07:16:52 -08:00
expression.h [flang] work around template specialization problem 2018-12-04 15:52:50 -08:00
mod-file.cc [flang] Preserve order of type parameters 2018-12-06 17:52:43 -08:00
mod-file.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-labels.cc [flang] reflect review comment 2018-12-10 10:12:11 -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] Refactoring: improve some names 2018-12-17 12:41:43 -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] Refactoring: improve some names 2018-12-17 12:41:43 -08:00
scope.h [flang] Refactoring: improve some names 2018-12-17 12:41:43 -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] Rework how DeclTypeSpecs are stored 2018-12-14 07:17:12 -08:00
symbol.h [flang] Rework how DeclTypeSpecs are stored 2018-12-14 07:17:12 -08:00
type.cc [flang] Refactoring: improve some names 2018-12-17 12:41:43 -08:00
type.h [flang] Refactoring: improve some names 2018-12-17 12:41:43 -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