[PATCH] D32046: [Preprocessor]Correct Macro-Arg allocation of StringifiedArguments, correct getNumArguments

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 13 17:13:04 PDT 2017


erichkeane updated this revision to Diff 102458.
erichkeane added a comment.

Added unit test to validate that this still works throughout the range of arguments, and asserts as soon as you get to the end as requested.


https://reviews.llvm.org/D32046

Files:
  include/clang/Lex/MacroArgs.h
  lib/Lex/MacroArgs.cpp
  unittests/Lex/LexerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32046.102458.patch
Type: text/x-patch
Size: 7098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170614/3065e495/attachment.bin>


More information about the cfe-commits mailing list