diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-07-26 19:36:28 +0000 |
commit | cfca06d7963fa0909f90483b42a6d7d194d01e08 (patch) | |
tree | 209fb2a2d68f8f277793fc8df46c753d31bc853b /lldb/tools/lldb-instr/Instrument.cpp | |
parent | 706b4fc47bbc608932d3b491ae19a3b9cde9497b (diff) |
Notes
Diffstat (limited to 'lldb/tools/lldb-instr/Instrument.cpp')
-rw-r--r-- | lldb/tools/lldb-instr/Instrument.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lldb/tools/lldb-instr/Instrument.cpp b/lldb/tools/lldb-instr/Instrument.cpp index 9b2970030cb0..8ec01304891b 100644 --- a/lldb/tools/lldb-instr/Instrument.cpp +++ b/lldb/tools/lldb-instr/Instrument.cpp @@ -194,10 +194,9 @@ public: ParamTypes.push_back(T.getAsString(Policy)); ParamNames.push_back(P->getNameAsString()); - // Currently we don't support functions that have void pointers or - // function pointers as an argument, in which case we insert a dummy - // macro. - ShouldInsertDummy |= T->isFunctionPointerType() || T->isVoidPointerType(); + // Currently we don't support functions that have function pointers as an + // argument, in which case we insert a dummy macro. + ShouldInsertDummy |= T->isFunctionPointerType(); } // Convert the two lists to string for the macros. |