mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 06:36:08 +00:00

The test case is not ran unless libcxx is used, and a macro may be undefined. This patch checks for the definition of the macro before using it. Fixes http://llvm.org/PR51430 Differential Revision: https://reviews.llvm.org/D108352