[ORC] Tidy up JITSymbolFlags to remove the need for some explicit static_casts.
authorLang Hames <lhames@gmail.com>
Sun, 2 Sep 2018 01:28:26 +0000 (01:28 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 2 Sep 2018 01:28:26 +0000 (01:28 +0000)
commit6a2a889b8a2cfee207f77cfdc525a8315cfaf6d7
tree9abcdc5d3002329eb09591735d75b3376a0a878d
parente0d03e966552f03253825bff248fb4ad1c425c78
[ORC] Tidy up JITSymbolFlags to remove the need for some explicit static_casts.

Removes the implicit conversion to the underlying type for
JITSymbolFlags::FlagNames and replaces it with some bitwise and comparison
operators.

llvm-svn: 341282
llvm/include/llvm/ExecutionEngine/JITSymbol.h
llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
llvm/lib/ExecutionEngine/Orc/Core.cpp
llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
llvm/unittests/ExecutionEngine/Orc/LegacyAPIInteropTest.cpp