llvm/flang/lib/semantics
Tim Keith 1c856ac972 [flang] Add common base class for context, Walk(), and Say()
We need access to the SemanticsContext and Walk() function everywhere,
so move them to a BaseVisitor, a base class at the root of the class
hierarchy.

Also move MessageHandler to be a data member of BaseVisitor and forward
Say calls to it.

Original-commit: flang-compiler/f18@eb9adc342a
Reviewed-on: https://github.com/flang-compiler/f18/pull/238
Tree-same-pre-rewrite: false
2018-12-06 07:16:52 -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] Change formatting of common::visitors{} 2018-11-29 09:27:34 -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] Use std::optional<>::value() where appropriate. 2018-12-05 13:03:39 -08:00
expression.h [flang] work around template specialization problem 2018-12-04 15:52:50 -08:00
mod-file.cc [flang] Change when symbol is set in parser::Name 2018-12-06 07:16:52 -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] 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.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] Add common base class for context, Walk(), and Say() 2018-12-06 07:16:52 -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] Change when symbol is set in parser::Name 2018-12-06 07:16:52 -08:00
scope.h [flang] Change when symbol is set in parser::Name 2018-12-06 07:16:52 -08:00
semantics.cc [flang] checkpoint during refactor 2018-11-30 14:03:05 -08:00
semantics.h [flang] checkpoint during refactor 2018-11-30 14:03:05 -08:00
symbol.cc [flang] Change when symbol is set in parser::Name 2018-12-06 07:16:52 -08:00
symbol.h [flang] Change when symbol is set in parser::Name 2018-12-06 07:16:52 -08:00
type.cc [flang] Change when symbol is set in parser::Name 2018-12-06 07:16:52 -08:00
type.h [flang] Change when symbol is set in parser::Name 2018-12-06 07:16:52 -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