[all-commits] [llvm/llvm-project] d66afd: [Syntax] Merge overlapping top-level macros in Tok...

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Apr 7 06:06:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d66afd6dde542dc373f87e07fe764c071fe20d76
      https://github.com/llvm/llvm-project/commit/d66afd6dde542dc373f87e07fe764c071fe20d76
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M clang/lib/Tooling/Syntax/Tokens.cpp
    M clang/unittests/Tooling/Syntax/TokensTest.cpp

  Log Message:
  -----------
  [Syntax] Merge overlapping top-level macros in TokenBuffer

Summary:
Our previous definition of "top-level" was too informal, and didn't
allow for overlapping macros that each directly produce expanded tokens.
See D77507 for previous discussion.

Fixes http://bugs.llvm.org/show_bug.cgi?id=45428

Reviewers: kadircet, vabridgers

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77615




More information about the All-commits mailing list