Skip to content

Commit 16deb28

Browse files
committed
[Clang importer] Function-like macros are ignored.
1 parent 10f2c9a commit 16deb28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2067,7 +2067,7 @@ static bool shouldIgnoreMacro(const clang::IdentifierInfo *identifier,
20672067

20682068
// Currently we only convert non-function-like macros.
20692069
if (macro->isFunctionLike())
2070-
return false;
2070+
return true;
20712071

20722072
// Consult the blacklist of macros to suppress.
20732073
auto suppressMacro =

0 commit comments

Comments
 (0)