diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-08-25 01:29:55 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-08-25 01:29:55 +0000 |
commit | ff7205ca85c4536c253aa73118a3aeaa982729c8 (patch) | |
tree | 051db3737169eafdec728381c55f8f8a09b448fd /llvm/lib/Analysis/AliasAnalysisSummary.cpp | |
parent | 1eb473680a3dac9d75f44c2f4799b4cef8465e5f (diff) | |
download | bcm5719-llvm-ff7205ca85c4536c253aa73118a3aeaa982729c8.tar.gz bcm5719-llvm-ff7205ca85c4536c253aa73118a3aeaa982729c8.zip |
Update a comment.
r279696, which changed `LLVM_CONSTEXPR AliasAttr` to `const AliasAttr`,
made this comment make less sense.
llvm-svn: 279699
Diffstat (limited to 'llvm/lib/Analysis/AliasAnalysisSummary.cpp')
-rw-r--r-- | llvm/lib/Analysis/AliasAnalysisSummary.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/AliasAnalysisSummary.cpp b/llvm/lib/Analysis/AliasAnalysisSummary.cpp index 09a6b8217a0..2b4879453be 100644 --- a/llvm/lib/Analysis/AliasAnalysisSummary.cpp +++ b/llvm/lib/Analysis/AliasAnalysisSummary.cpp @@ -15,9 +15,8 @@ const unsigned AttrFirstArgIndex = 4; const unsigned AttrLastArgIndex = NumAliasAttrs; const unsigned AttrMaxNumArgs = AttrLastArgIndex - AttrFirstArgIndex; -// NOTE: These aren't AliasAttrs because bitsets don't have a constexpr -// ctor for some versions of MSVC that we support. We could maybe refactor, -// but... +// It would be *slightly* prettier if we changed these to AliasAttrs, but it +// seems that both GCC and MSVC emit dynamic initializers for const bitsets. using AliasAttr = unsigned; const AliasAttr AttrNone = 0; const AliasAttr AttrEscaped = 1 << AttrEscapedIndex; |