[PATCH] D75446: [clang][Syntax] Handle macro arguments in spelledForExpanded

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 28 03:14:41 PDT 2020


kadircet updated this revision to Diff 253325.
kadircet added a comment.

- Rebase, update comments for spelledForExpanded and add tests for multiple arguments.
- Do not dive into macro bodies while looking for a common expansion.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75446/new/

https://reviews.llvm.org/D75446

Files:
  clang/include/clang/Tooling/Syntax/Tokens.h
  clang/lib/Tooling/Syntax/Tokens.cpp
  clang/unittests/Tooling/Syntax/TokensTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75446.253325.patch
Type: text/x-patch
Size: 12028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200328/7d5eabce/attachment.bin>


More information about the cfe-commits mailing list