We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a3b41 commit 86835d2Copy full SHA for 86835d2
clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
@@ -350,7 +350,7 @@ class APIMacroCallback : public MacroCallback {
350
bool shouldMacroBeIncluded(const SourceLocation &MacroLoc,
351
StringRef ModuleName) override {
352
// Do not include macros from external files
353
- return LCF(MacroLoc) || API.ProductName == ModuleName;
+ return LCF(MacroLoc);
354
}
355
356
private:
0 commit comments