[flang] Changed *.cc file extension to *.cpp (updated scripts) (flang-compiler/f18...
authorAlexis Perry <AlexisPerry@users.noreply.github.com>
Tue, 28 Jan 2020 02:18:45 +0000 (19:18 -0700)
committerSteve Scalpone <sscalpone@nvidia.com>
Tue, 28 Jan 2020 02:18:45 +0000 (18:18 -0800)
commit352d347aa5f5f1ba9b17aedd90daa5c110b8a50e
tree985c2741fefb6e90299a0f687ef26fa960060f64
parent65b62f9bde66b3ed493fc12cb428d5467cb1b55a
[flang] Changed *.cc file extension to *.cpp (updated scripts) (flang-compiler/f18#958)

Updated CMake files accordingly, using better regex
Updated license headers to match new extension and fit within 80 columns
Updated other comments within files that referred to the old extension

Original-commit: flang-compiler/f18@ae7721e611918631d1e3821dbb60f5ffcd9a69b1
Reviewed-on: https://github.com/flang-compiler/f18/pull/958
137 files changed:
flang/documentation/C++style.md
flang/documentation/PullRequestChecklist.md
flang/include/flang/evaluate/traverse.h
flang/lib/common/CMakeLists.txt
flang/lib/common/Fortran-features.cpp [moved from flang/lib/common/Fortran-features.cc with 96% similarity]
flang/lib/common/Fortran.cpp [moved from flang/lib/common/Fortran.cc with 95% similarity]
flang/lib/common/default-kinds.cpp [moved from flang/lib/common/default-kinds.cc with 96% similarity]
flang/lib/common/idioms.cpp [moved from flang/lib/common/idioms.cc with 94% similarity]
flang/lib/decimal/CMakeLists.txt
flang/lib/decimal/binary-to-decimal.cpp [moved from flang/lib/decimal/binary-to-decimal.cc with 99% similarity]
flang/lib/decimal/decimal-to-binary.cpp [moved from flang/lib/decimal/decimal-to-binary.cc with 99% similarity]
flang/lib/evaluate/CMakeLists.txt
flang/lib/evaluate/call.cpp [moved from flang/lib/evaluate/call.cc with 99% similarity]
flang/lib/evaluate/characteristics.cpp [moved from flang/lib/evaluate/characteristics.cc with 99% similarity]
flang/lib/evaluate/check-expression.cpp [moved from flang/lib/evaluate/check-expression.cc with 99% similarity]
flang/lib/evaluate/common.cpp [moved from flang/lib/evaluate/common.cc with 96% similarity]
flang/lib/evaluate/complex.cpp [moved from flang/lib/evaluate/complex.cc with 98% similarity]
flang/lib/evaluate/constant.cpp [moved from flang/lib/evaluate/constant.cc with 99% similarity]
flang/lib/evaluate/expression.cpp [moved from flang/lib/evaluate/expression.cc with 99% similarity]
flang/lib/evaluate/fold-character.cpp [moved from flang/lib/evaluate/fold-character.cc with 98% similarity]
flang/lib/evaluate/fold-complex.cpp [moved from flang/lib/evaluate/fold-complex.cc with 98% similarity]
flang/lib/evaluate/fold-integer.cpp [moved from flang/lib/evaluate/fold-integer.cc with 99% similarity]
flang/lib/evaluate/fold-logical.cpp [moved from flang/lib/evaluate/fold-logical.cc with 99% similarity]
flang/lib/evaluate/fold-real.cpp [moved from flang/lib/evaluate/fold-real.cc with 99% similarity]
flang/lib/evaluate/fold.cpp [moved from flang/lib/evaluate/fold.cc with 99% similarity]
flang/lib/evaluate/formatting.cpp [moved from flang/lib/evaluate/formatting.cc with 99% similarity]
flang/lib/evaluate/host.cpp [moved from flang/lib/evaluate/host.cc with 98% similarity]
flang/lib/evaluate/integer.cpp [moved from flang/lib/evaluate/integer.cc with 94% similarity]
flang/lib/evaluate/intrinsics-library-templates.h
flang/lib/evaluate/intrinsics-library.cpp [moved from flang/lib/evaluate/intrinsics-library.cc with 99% similarity]
flang/lib/evaluate/intrinsics.cpp [moved from flang/lib/evaluate/intrinsics.cc with 99% similarity]
flang/lib/evaluate/logical.cpp [moved from flang/lib/evaluate/logical.cc with 88% similarity]
flang/lib/evaluate/real.cpp [moved from flang/lib/evaluate/real.cc with 99% similarity]
flang/lib/evaluate/shape.cpp [moved from flang/lib/evaluate/shape.cc with 99% similarity]
flang/lib/evaluate/static-data.cpp [moved from flang/lib/evaluate/static-data.cc with 97% similarity]
flang/lib/evaluate/tools.cpp [moved from flang/lib/evaluate/tools.cc with 99% similarity]
flang/lib/evaluate/type.cpp [moved from flang/lib/evaluate/type.cc with 99% similarity]
flang/lib/evaluate/variable.cpp [moved from flang/lib/evaluate/variable.cc with 99% similarity]
flang/lib/parser/CMakeLists.txt
flang/lib/parser/Fortran-parsers.cpp [moved from flang/lib/parser/Fortran-parsers.cc with 99% similarity]
flang/lib/parser/char-block.cpp [moved from flang/lib/parser/char-block.cc with 88% similarity]
flang/lib/parser/char-buffer.cpp [moved from flang/lib/parser/char-buffer.cc with 97% similarity]
flang/lib/parser/char-set.cpp [moved from flang/lib/parser/char-set.cc with 90% similarity]
flang/lib/parser/characters.cpp [moved from flang/lib/parser/characters.cc with 99% similarity]
flang/lib/parser/debug-parser.cpp [moved from flang/lib/parser/debug-parser.cc with 92% similarity]
flang/lib/parser/executable-parsers.cpp [moved from flang/lib/parser/executable-parsers.cc with 99% similarity]
flang/lib/parser/expr-parsers.cpp [moved from flang/lib/parser/expr-parsers.cc with 99% similarity]
flang/lib/parser/instrumented-parser.cpp [moved from flang/lib/parser/instrumented-parser.cc with 97% similarity]
flang/lib/parser/io-parsers.cpp [moved from flang/lib/parser/io-parsers.cc with 99% similarity]
flang/lib/parser/message.cpp [moved from flang/lib/parser/message.cc with 99% similarity]
flang/lib/parser/openmp-parsers.cpp [moved from flang/lib/parser/openmp-parsers.cc with 99% similarity]
flang/lib/parser/parse-tree.cpp [moved from flang/lib/parser/parse-tree.cc with 99% similarity]
flang/lib/parser/parsing.cpp [moved from flang/lib/parser/parsing.cc with 98% similarity]
flang/lib/parser/preprocessor.cpp [moved from flang/lib/parser/preprocessor.cc with 99% similarity]
flang/lib/parser/prescan.cpp [moved from flang/lib/parser/prescan.cc with 99% similarity]
flang/lib/parser/program-parsers.cpp [moved from flang/lib/parser/program-parsers.cc with 99% similarity]
flang/lib/parser/provenance.cpp [moved from flang/lib/parser/provenance.cc with 99% similarity]
flang/lib/parser/source.cpp [moved from flang/lib/parser/source.cc with 99% similarity]
flang/lib/parser/token-sequence.cpp [moved from flang/lib/parser/token-sequence.cc with 99% similarity]
flang/lib/parser/tools.cpp [moved from flang/lib/parser/tools.cc with 97% similarity]
flang/lib/parser/unparse.cpp [moved from flang/lib/parser/unparse.cc with 99% similarity]
flang/lib/parser/user-state.cpp [moved from flang/lib/parser/user-state.cc with 97% similarity]
flang/lib/semantics/CMakeLists.txt
flang/lib/semantics/assignment.cpp [moved from flang/lib/semantics/assignment.cc with 99% similarity]
flang/lib/semantics/attr.cpp [moved from flang/lib/semantics/attr.cc with 95% similarity]
flang/lib/semantics/canonicalize-do.cpp [moved from flang/lib/semantics/canonicalize-do.cc with 98% similarity]
flang/lib/semantics/canonicalize-omp.cpp [moved from flang/lib/semantics/canonicalize-omp.cc with 98% similarity]
flang/lib/semantics/check-allocate.cpp [moved from flang/lib/semantics/check-allocate.cc with 99% similarity]
flang/lib/semantics/check-arithmeticif.cpp [moved from flang/lib/semantics/check-arithmeticif.cc with 96% similarity]
flang/lib/semantics/check-call.cpp [moved from flang/lib/semantics/check-call.cc with 99% similarity]
flang/lib/semantics/check-coarray.cpp [moved from flang/lib/semantics/check-coarray.cc with 98% similarity]
flang/lib/semantics/check-deallocate.cpp [moved from flang/lib/semantics/check-deallocate.cc with 97% similarity]
flang/lib/semantics/check-declarations.cpp [moved from flang/lib/semantics/check-declarations.cc with 99% similarity]
flang/lib/semantics/check-do.cpp [moved from flang/lib/semantics/check-do.cc with 99% similarity]
flang/lib/semantics/check-if-stmt.cpp [moved from flang/lib/semantics/check-if-stmt.cc with 93% similarity]
flang/lib/semantics/check-io.cpp [moved from flang/lib/semantics/check-io.cc with 99% similarity]
flang/lib/semantics/check-nullify.cpp [moved from flang/lib/semantics/check-nullify.cc with 97% similarity]
flang/lib/semantics/check-omp-structure.cpp [moved from flang/lib/semantics/check-omp-structure.cc with 99% similarity]
flang/lib/semantics/check-purity.cpp [moved from flang/lib/semantics/check-purity.cc with 97% similarity]
flang/lib/semantics/check-return.cpp [moved from flang/lib/semantics/check-return.cc with 96% similarity]
flang/lib/semantics/check-stop.cpp [moved from flang/lib/semantics/check-stop.cc with 95% similarity]
flang/lib/semantics/expression.cpp [moved from flang/lib/semantics/expression.cc with 99% similarity]
flang/lib/semantics/mod-file.cpp [moved from flang/lib/semantics/mod-file.cc with 99% similarity]
flang/lib/semantics/pointer-assignment.cpp [moved from flang/lib/semantics/pointer-assignment.cc with 99% similarity]
flang/lib/semantics/program-tree.cpp [moved from flang/lib/semantics/program-tree.cc with 99% similarity]
flang/lib/semantics/resolve-labels.cpp [moved from flang/lib/semantics/resolve-labels.cc with 99% similarity]
flang/lib/semantics/resolve-names-utils.cpp [moved from flang/lib/semantics/resolve-names-utils.cc with 99% similarity]
flang/lib/semantics/resolve-names-utils.h
flang/lib/semantics/resolve-names.cpp [moved from flang/lib/semantics/resolve-names.cc with 99% similarity]
flang/lib/semantics/rewrite-parse-tree.cpp [moved from flang/lib/semantics/rewrite-parse-tree.cc with 98% similarity]
flang/lib/semantics/scope.cpp [moved from flang/lib/semantics/scope.cc with 99% similarity]
flang/lib/semantics/semantics.cpp [moved from flang/lib/semantics/semantics.cc with 99% similarity]
flang/lib/semantics/symbol.cpp [moved from flang/lib/semantics/symbol.cc with 99% similarity]
flang/lib/semantics/tools.cpp [moved from flang/lib/semantics/tools.cc with 99% similarity]
flang/lib/semantics/type.cpp [moved from flang/lib/semantics/type.cc with 99% similarity]
flang/lib/semantics/unparse-with-symbols.cpp [moved from flang/lib/semantics/unparse-with-symbols.cc with 98% similarity]
flang/runtime/CMakeLists.txt
flang/runtime/ISO_Fortran_binding.cpp [moved from flang/runtime/ISO_Fortran_binding.cc with 99% similarity]
flang/runtime/derived-type.cpp [moved from flang/runtime/derived-type.cc with 97% similarity]
flang/runtime/descriptor.cpp [moved from flang/runtime/descriptor.cc with 98% similarity]
flang/runtime/file.cpp [moved from flang/runtime/file.cc with 99% similarity]
flang/runtime/format.cpp [moved from flang/runtime/format.cc with 99% similarity]
flang/runtime/io-api.cpp [moved from flang/runtime/io-api.cc with 94% similarity]
flang/runtime/io-error.cpp [moved from flang/runtime/io-error.cc with 96% similarity]
flang/runtime/io-stmt.cpp [moved from flang/runtime/io-stmt.cc with 97% similarity]
flang/runtime/main.cpp [moved from flang/runtime/main.cc with 96% similarity]
flang/runtime/memory.cpp [moved from flang/runtime/memory.cc with 92% similarity]
flang/runtime/stop.cpp [moved from flang/runtime/stop.cc with 96% similarity]
flang/runtime/terminator.cpp [moved from flang/runtime/terminator.cc with 95% similarity]
flang/runtime/tools.cpp [moved from flang/runtime/tools.cc with 95% similarity]
flang/runtime/transformational.cpp [moved from flang/runtime/transformational.cc with 98% similarity]
flang/runtime/type-code.cpp [moved from flang/runtime/type-code.cc with 96% similarity]
flang/test/decimal/CMakeLists.txt
flang/test/decimal/quick-sanity-test.cpp [moved from flang/test/decimal/quick-sanity-test.cc with 100% similarity]
flang/test/decimal/thorough-test.cpp [moved from flang/test/decimal/thorough-test.cc with 100% similarity]
flang/test/evaluate/CMakeLists.txt
flang/test/evaluate/ISO-Fortran-binding.cpp [moved from flang/test/evaluate/ISO-Fortran-binding.cc with 100% similarity]
flang/test/evaluate/bit-population-count.cpp [moved from flang/test/evaluate/bit-population-count.cc with 100% similarity]
flang/test/evaluate/expression.cpp [moved from flang/test/evaluate/expression.cc with 100% similarity]
flang/test/evaluate/folding.cpp [moved from flang/test/evaluate/folding.cc with 98% similarity]
flang/test/evaluate/fp-testing.cpp [moved from flang/test/evaluate/fp-testing.cc with 100% similarity]
flang/test/evaluate/integer.cpp [moved from flang/test/evaluate/integer.cc with 100% similarity]
flang/test/evaluate/intrinsics.cpp [moved from flang/test/evaluate/intrinsics.cc with 100% similarity]
flang/test/evaluate/leading-zero-bit-count.cpp [moved from flang/test/evaluate/leading-zero-bit-count.cc with 100% similarity]
flang/test/evaluate/logical.cpp [moved from flang/test/evaluate/logical.cc with 100% similarity]
flang/test/evaluate/real.cpp [moved from flang/test/evaluate/real.cc with 100% similarity]
flang/test/evaluate/reshape.cpp [moved from flang/test/evaluate/reshape.cc with 100% similarity]
flang/test/evaluate/testing.cpp [moved from flang/test/evaluate/testing.cc with 100% similarity]
flang/test/evaluate/uint128.cpp [moved from flang/test/evaluate/uint128.cc with 100% similarity]
flang/test/runtime/CMakeLists.txt
flang/test/runtime/format.cpp [moved from flang/test/runtime/format.cc with 98% similarity]
flang/test/runtime/hello.cpp [moved from flang/test/runtime/hello.cc with 100% similarity]
flang/tools/f18/CMakeLists.txt
flang/tools/f18/dump.cpp [moved from flang/tools/f18/dump.cc with 95% similarity]
flang/tools/f18/f18-parse-demo.cpp [moved from flang/tools/f18/f18-parse-demo.cc with 99% similarity]
flang/tools/f18/f18.cpp [moved from flang/tools/f18/f18.cc with 99% similarity]
flang/tools/f18/stub-evaluate.cpp [moved from flang/tools/f18/stub-evaluate.cc with 94% similarity]