Skip to content

Commit 089a4da

Browse files
authored
Address clang-tidy-review comment
1 parent fcbaeff commit 089a4da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Interpreter/CppInterOp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2829,6 +2829,7 @@ namespace Cpp {
28292829

28302830
std::array<char, 256> buffer;
28312831
#if defined(__GNUC__)
2832+
#pragma GCC diagnostic push
28322833
#pragma GCC diagnostic ignored "-Wignored-attributes"
28332834
#endif
28342835
std::unique_ptr<FILE, decltype(&pclose)> pipe(popen(cmd, "r"), pclose);
@@ -3444,6 +3445,7 @@ namespace Cpp {
34443445

34453446
class StreamCaptureInfo {
34463447
#if defined(__GNUC__)
3448+
#pragma GCC diagnostic push
34473449
#pragma GCC diagnostic ignored "-Wignored-attributes"
34483450
#endif
34493451
std::unique_ptr<FILE, decltype(std::fclose)*> m_TempFile;

0 commit comments

Comments
 (0)