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/lib/evaluate/leading-zero-bit-count.h | |
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/lib/evaluate/leading-zero-bit-count.h')
-rw-r--r-- | flang/lib/evaluate/leading-zero-bit-count.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/flang/lib/evaluate/leading-zero-bit-count.h b/flang/lib/evaluate/leading-zero-bit-count.h index 13749fb51827..33e990c9c69e 100644 --- a/flang/lib/evaluate/leading-zero-bit-count.h +++ b/flang/lib/evaluate/leading-zero-bit-count.h @@ -46,7 +46,7 @@ static constexpr std::uint8_t mapping[64]{63, 0, 58, 1, 59, 47, 53, 2, 60, 39, 48, 27, 54, 33, 42, 3, 61, 51, 37, 40, 49, 18, 28, 20, 55, 30, 34, 11, 43, 14, 22, 4, 62, 57, 46, 52, 38, 26, 32, 41, 50, 36, 17, 19, 29, 10, 13, 21, 56, 45, 25, 31, 35, 16, 9, 12, 44, 24, 15, 8, 23, 7, 6, 5}; -} // namespace +} inline constexpr int LeadingZeroBitCount(std::uint64_t x) { if (x == 0) { @@ -89,10 +89,10 @@ static constexpr std::uint8_t eightBitLeadingZeroBitCount[256]{8, 7, 6, 6, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; -} // namespace +} inline constexpr int LeadingZeroBitCount(std::uint8_t x) { return eightBitLeadingZeroBitCount[x]; } -} // namespace Fortran::evaluate +} #endif // FORTRAN_EVALUATE_LEADING_ZERO_BIT_COUNT_H_ |