Skip to content

Commit

Permalink
[PP] Remove another unused parameter
Browse files Browse the repository at this point in the history
Differential Revision: http://reviews.llvm.org/D25981


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285188 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
erikjv committed Oct 26, 2016
1 parent f16d077 commit 4970df6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/clang/Lex/Preprocessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -1937,7 +1937,7 @@ class Preprocessor : public RefCountedBase<Preprocessor> {
public:
void HandlePragmaOnce(Token &OnceTok);
void HandlePragmaMark();
void HandlePragmaPoison(Token &PoisonTok);
void HandlePragmaPoison();
void HandlePragmaSystemHeader(Token &SysHeaderTok);
void HandlePragmaDependency(Token &DependencyTok);
void HandlePragmaPushMacro(Token &Tok);
Expand Down
4 changes: 2 additions & 2 deletions lib/Lex/Pragma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ void Preprocessor::HandlePragmaMark() {

/// HandlePragmaPoison - Handle \#pragma GCC poison. PoisonTok is the 'poison'.
///
void Preprocessor::HandlePragmaPoison(Token &PoisonTok) {
void Preprocessor::HandlePragmaPoison() {
Token Tok;

while (true) {
Expand Down Expand Up @@ -853,7 +853,7 @@ struct PragmaPoisonHandler : public PragmaHandler {

void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
Token &PoisonTok) override {
PP.HandlePragmaPoison(PoisonTok);
PP.HandlePragmaPoison();
}
};

Expand Down

0 comments on commit 4970df6

Please sign in to comment.