diff options
author | Jean Perier <jperier@hsw1.pgi.net> | 2018-10-25 05:55:23 -0700 |
---|---|---|
committer | Jean Perier <jperier@hsw1.pgi.net> | 2018-10-25 05:55:23 -0700 |
commit | f7e7cb349b1f5c322a2e9eff16e6e81b8d70807b (patch) | |
tree | 918cd1101a1ea8b4d577339fd05efeddef9fc53e /flang/runtime | |
parent | 9077dc289ba3d12ff855442c48f568465c18c7ac (diff) | |
download | llvm-f7e7cb349b1f5c322a2e9eff16e6e81b8d70807b.tar.gz |
[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
Original-commit: flang-compiler/f18@aa7f55e15f78909ba8401f85e023ee4c3eaa923f
Reviewed-on: https://github.com/flang-compiler/f18/pull/217
Diffstat (limited to 'flang/runtime')
-rw-r--r-- | flang/runtime/ISO_Fortran_binding.cc | 2 | ||||
-rw-r--r-- | flang/runtime/derived-type.cc | 2 | ||||
-rw-r--r-- | flang/runtime/derived-type.h | 2 | ||||
-rw-r--r-- | flang/runtime/descriptor.cc | 2 | ||||
-rw-r--r-- | flang/runtime/descriptor.h | 2 | ||||
-rw-r--r-- | flang/runtime/transformational.cc | 3 | ||||
-rw-r--r-- | flang/runtime/transformational.h | 3 | ||||
-rw-r--r-- | flang/runtime/type-code.cc | 2 | ||||
-rw-r--r-- | flang/runtime/type-code.h | 2 |
9 files changed, 9 insertions, 11 deletions
diff --git a/flang/runtime/ISO_Fortran_binding.cc b/flang/runtime/ISO_Fortran_binding.cc index 0948785af33e..81a8f0c3d1f4 100644 --- a/flang/runtime/ISO_Fortran_binding.cc +++ b/flang/runtime/ISO_Fortran_binding.cc @@ -207,4 +207,4 @@ int CFI_setpointer(CFI_cdesc_t *result, const CFI_cdesc_t *source, return CFI_INVALID_DESCRIPTOR; // TODO } } // extern "C" -} // namespace Fortran::ISO +} diff --git a/flang/runtime/derived-type.cc b/flang/runtime/derived-type.cc index 7ac03b6c109f..ba41f00ade8d 100644 --- a/flang/runtime/derived-type.cc +++ b/flang/runtime/derived-type.cc @@ -80,4 +80,4 @@ void DerivedType::Destroy(char *instance, bool finalize) const { } } } -} // namespace Fortran::runtime +} diff --git a/flang/runtime/derived-type.h b/flang/runtime/derived-type.h index 09d173755a38..d778a5825e8f 100644 --- a/flang/runtime/derived-type.h +++ b/flang/runtime/derived-type.h @@ -192,5 +192,5 @@ private: std::uint64_t flags_{0}; std::size_t bytes_{0}; }; -} // namespace Fortran::runtime +} #endif // FORTRAN_RUNTIME_DERIVED_TYPE_H_ diff --git a/flang/runtime/descriptor.cc b/flang/runtime/descriptor.cc index 0281b413ea2c..87a92500c848 100644 --- a/flang/runtime/descriptor.cc +++ b/flang/runtime/descriptor.cc @@ -180,4 +180,4 @@ std::ostream &DescriptorAddendum::Dump(std::ostream &o) const { // TODO: LEN parameter values return o; } -} // namespace Fortran::runtime +} diff --git a/flang/runtime/descriptor.h b/flang/runtime/descriptor.h index d1767cd1e44d..b0afaf077a19 100644 --- a/flang/runtime/descriptor.h +++ b/flang/runtime/descriptor.h @@ -329,5 +329,5 @@ public: private: char storage_[byteSize]; }; -} // namespace Fortran::runtime +} #endif // FORTRAN_RUNTIME_DESCRIPTOR_H_ diff --git a/flang/runtime/transformational.cc b/flang/runtime/transformational.cc index 417599506592..98bd3c53e2b1 100644 --- a/flang/runtime/transformational.cc +++ b/flang/runtime/transformational.cc @@ -148,5 +148,4 @@ std::unique_ptr<Descriptor> RESHAPE(const Descriptor &source, return result; } - -} // namespace Fortran::runtime +} diff --git a/flang/runtime/transformational.h b/flang/runtime/transformational.h index efd26375a896..9f2ce6763b2e 100644 --- a/flang/runtime/transformational.h +++ b/flang/runtime/transformational.h @@ -23,6 +23,5 @@ namespace Fortran::runtime { std::unique_ptr<Descriptor> RESHAPE(const Descriptor &source, const Descriptor &shape, const Descriptor *pad = nullptr, const Descriptor *order = nullptr); - -} // namespace Fortran::runtime +} #endif // FORTRAN_RUNTIME_TRANSFORMATIONAL_H_ diff --git a/flang/runtime/type-code.cc b/flang/runtime/type-code.cc index 15697cc115cf..72c45dd56c80 100644 --- a/flang/runtime/type-code.cc +++ b/flang/runtime/type-code.cc @@ -59,4 +59,4 @@ TypeCode::TypeCode(TypeCategory f, int kind) { case TypeCategory::Derived: raw_ = CFI_type_struct; break; } } -} // namespace Fortran::runtime +} diff --git a/flang/runtime/type-code.h b/flang/runtime/type-code.h index d436da8e5d5a..21d488a54a21 100644 --- a/flang/runtime/type-code.h +++ b/flang/runtime/type-code.h @@ -71,5 +71,5 @@ public: private: ISO::CFI_type_t raw_{CFI_type_other}; }; -} // namespace Fortran::runtime +} #endif // FORTRAN_RUNTIME_TYPE_CODE_H_ |