Skip to content

Commit 2ddda73

Browse files
committed
add some notes.
llvm-svn: 38986
1 parent 2ba425e commit 2ddda73

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

clang/NOTES.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,16 @@ uses a #define that is set on some other target. In practice, limited cases
7272
could be handled by scanning the skipped region of a #if, but the fully general
7373
case cannot be implemented efficiently.
7474

75+
We probably have to do something like this in the future. The C++ header
76+
<limits> contains a lot of code like this:
77+
static const int digits10 = __LDBL_DIG__;
78+
static const int min_exponent = __LDBL_MIN_EXP__;
79+
static const int min_exponent10 = __LDBL_MIN_10_EXP__;
80+
static const float_denorm_style has_denorm
81+
= bool(__LDBL_DENORM_MIN__) ? denorm_present : denorm_absent;
82+
... since this isn't being used in an #ifdef, it should be easy enough to taint
83+
the decl for these ivars.
84+
85+
86+
7587
//===---------------------------------------------------------------------===//

0 commit comments

Comments
 (0)