HomePhabricator

[clang-tidy] Reworked enum options handling(again)

Authored by njames93 on Jul 11 2020, 2:10 AM.

Description

[clang-tidy] Reworked enum options handling(again)

Reland b9306fd after fixing the issue causing mac builds to fail unittests.

Following on from D77085, I was never happy with the passing a mapping to the option get/store functions. This patch addresses this by using explicit specializations to handle the serializing and deserializing of enum options.

Reviewed By: aaron.ballman

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

Details

Committed
njames93Jul 11 2020, 2:13 AM
Reviewer
aaron.ballman
Differential Revision
D82188: [clang-tidy] Reworked enum options handling(again)
Parents
rGdce6bc18c4e1: [OpenMP][FIX] remove unused variable and long if-else chain
Branches
Unknown
Tags
Unknown