HomePhabricator

[DebugInfoMetadata] Refactor DIExpression::prepend constants (NFC)

Authored by petarj on May 20 2019, 3:35 AM.

Description

[DebugInfoMetadata] Refactor DIExpression::prepend constants (NFC)

Refactor DIExpression::With* into a flag enum in order to be less
error-prone to use (as discussed on D60866).

Patch by Djordje Todorovic.

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

llvm-svn: 361137