forked from OSchip/llvm-project
Add paretntheses around a C macro parameter.
llvm-svn: 342673
This commit is contained in:
parent
f452337787
commit
11cda0cbae
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue