mibintc added a comment.

I'm sorry, I don't see how to build up an identifier with an arbitrary number 
of characters using the token pasting, for example an ident with 4095 
characters is not a power of 2. I tried pasting together X2048 X1024 X512 etc 
but that doesn't work
fu.cpp:12:18: error: pasting ")" and "X16" does not give a valid preprocessing 
token
 #define FUN X32(x) ## X16(x)

  ^

fu.cpp:13:1: note: in expansion of macro ‘FUN’
I want the test case to show the transition between when md5 is not needed and 
when it's needed, i want to build strings that might not be power of root 
string.  I could add more comments to the test case, perhaps, "the strlen of 
the Microsoft mangled name is X" for the one case, and "the strlen of ... is 
X+1" for the other.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90714

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to