llvm/flang/lib/semantics
Tim Keith 8a03a67cb0 [flang] Change handling of BIND attributes
Previously `BIND(C, NAME="...")` caused `bindName` to be set but not
the `BIND` attribute. This made writing the `.mod` file easier, but it
makes it hard to ask: does this symbol have a C binding.

This change causes the `BIND` attribute to be set whenever there is
`BIND(C)` in the source, regardless of whether there is a name or not.
`bindName` is only set when the `BIND` attribute is also set.

Original-commit: flang-compiler/f18@5a6706ffcb
Reviewed-on: https://github.com/flang-compiler/f18/pull/298
Tree-same-pre-rewrite: false
2019-02-21 08:47:12 -08:00
..
assignment.cc [flang] basic skeleton of assignment analyzer 2019-01-17 10:41:08 -08:00
assignment.h [flang] basic skeleton of assignment analyzer 2019-01-17 10:41:08 -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] Remove SHARED from add_library(), use cmake command line option instead 2019-01-22 16:31:20 -08:00
dump-parse-tree.h [flang] basic skeleton of assignment analyzer 2019-01-17 10:41:08 -08:00
expression.cc [flang] push for review 2019-02-15 14:26:23 -08:00
expression.h [flang] checkpoint, much code moved out of name resolution 2019-02-15 12:28:09 -08:00
mod-file.cc [flang] Change handling of BIND attributes 2019-02-21 08:47:12 -08:00
mod-file.h [flang] Move default intrinsic type kinds from lib/semantics to lib/common 2019-01-22 16:31:18 -08:00
resolve-labels.cc [flang] Fix for both issues 274 and 278 2019-02-08 10:53:18 -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] Change handling of BIND attributes 2019-02-21 08:47:12 -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] Strengthen checking for unresolved names 2019-02-11 10:58:20 -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] checkpoint, tests pass 2019-02-15 12:24:13 -08:00
scope.h [flang] Address review comments, fix some f90_correct failures 2019-01-31 09:59:37 -08:00
semantics.cc [flang] checkpoint, much code moved out of name resolution 2019-02-15 12:28:09 -08:00
semantics.h [flang] Fix CHECK() on wa22 by implementing PGI language extension 2019-02-15 12:29:10 -08:00
symbol.cc [flang] Address review comments 2019-02-18 13:47:34 -08:00
symbol.h [flang] Address review comments 2019-02-18 13:47:34 -08:00
type.cc [flang] begin work on structure constructors 2019-02-15 12:22:02 -08:00
type.h [flang] Add support for common blocks 2019-02-14 07:59:20 -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