This is an archive of the discontinued LLVM Phabricator instance.

[ConstExprPreter] String and basic pointer arithmetic.
Needs ReviewPublic

Authored by nand on Nov 11 2019, 9:07 AM.

Details

Summary

Implemented string constants and the following pointer operations:

  • AddOffset
  • SubOffset
  • Narrow
  • Expand
  • LogicalNot

To allow for sensible tests, short-circuiting logical ops were also implemented.

Event Timeline

nand created this revision.Nov 11 2019, 9:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 11 2019, 9:07 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript