HomePhabricator

Move floating point related entities to namespace level

Authored by sepavloff on Aug 29 2019, 5:29 AM.

Description

Move floating point related entities to namespace level

This is recommit of commit e6584b2b7b2d, which was reverted in
30e7ee3c4bac together with af57dbf12e54.
Original message is below.

Enumerations that describe rounding mode and exception behavior were
defined inside ConstrainedFPIntrinsic. It makes sense to use the same
definitions to represent the same properties in other cases, not only
in constrained intrinsics. It was however inconvenient as required to
include constrained intrinsics definitions even if they were not needed.
Also using long scope prefix reduced readability.

This change moves these definitioins to the namespace llvm::fp.
No functional changes.

Differential Revision: https://reviews.llvm.org/D69552

Details

Committed
sepavloffNov 20 2019, 4:05 AM
Differential Revision
D69552: Move floating point related entities to namespace level
Parents
rGc502bae52410: [lldb][NFC] Simplify ClangASTContext::GetBasicTypes
Branches
Unknown
Tags
Unknown