Skip to content

Commit caf86d2

Browse files
committed
Speculatively fix this harder and with improved spelling capabilities.
1 parent 758f51c commit caf86d2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

clang/include/clang/Lex/PreprocessingRecord.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,8 @@ class Token;
539539
void Ifndef(SourceLocation Loc, const Token &MacroNameTok,
540540
const MacroDefinition &MD) override;
541541

542-
using PPCallbacks::Elifdef, PPCallback::Elifndef;
542+
using PPCallbacks::Elifdef;
543+
using PPCallbacks::Elifndef;
543544
void Elifdef(SourceLocation Loc, const Token &MacroNameTok,
544545
const MacroDefinition &MD) override;
545546
void Elifndef(SourceLocation Loc, const Token &MacroNameTok,

clang/lib/Index/IndexingAction.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ class IndexPPCallbacks final : public PPCallbacks {
7878
*MD.getMacroInfo());
7979
}
8080

81+
using PPCallbacks::Elifdef;
82+
using PPCallbacks::Elifndef;
8183
void Elifdef(SourceLocation Loc, const Token &MacroNameTok,
8284
const MacroDefinition &MD) override {
8385
if (!MD.getMacroInfo()) // Ignore non-existent macro.

0 commit comments

Comments
 (0)