Skip to content

Commit e292564

Browse files
authored
Revert change to show error
1 parent 089a4da commit e292564

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Diff for: lib/Interpreter/CppInterOp.cpp

+2-7
Original file line numberDiff line numberDiff line change
@@ -2828,14 +2828,9 @@ namespace Cpp {
28282828
#define DEBUG_TYPE "exec"
28292829

28302830
std::array<char, 256> buffer;
2831-
#if defined(__GNUC__)
2832-
#pragma GCC diagnostic push
2833-
#pragma GCC diagnostic ignored "-Wignored-attributes"
2834-
#endif
2831+
28352832
std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd, "r"), pclose);
2836-
#if defined(__GNUC__)
2837-
#pragma GCC diagnostic pop
2838-
#endif
2833+
28392834
LLVM_DEBUG(dbgs() << "Executing command '" << cmd << "'\n");
28402835

28412836
if (!pipe) {

0 commit comments

Comments
 (0)