Add paretntheses around a C macro parameter.

llvm-svn: 342673
This commit is contained in:
Rui Ueyama 2018-09-20 18:24:19 +00:00
parent f452337787
commit 11cda0cbae
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ T check2(Expected<T> E, llvm::function_ref<std::string()> Prefix) {
inline std::string toString(const Twine &S) { return S.str(); }
// To evaluate the second argument lazily, we use C macro.
#define CHECK(E, S) check2(E, [&] { return toString(S); })
#define CHECK(E, S) check2((E), [&] { return toString(S); })
} // namespace lld