[all-commits] [llvm/llvm-project] 373342: When vector is found as a type or non-type id, che...

jamieschmeiser via All-commits all-commits at lists.llvm.org
Wed Apr 21 12:42:24 PDT 2021


  Branch: refs/heads/Jamie_Phabricator_D100991
  Home:   https://github.com/llvm/llvm-project
  Commit: 3733420a974201b8439f83441aaa8bcf3610fab6
      https://github.com/llvm/llvm-project/commit/3733420a974201b8439f83441aaa8bcf3610fab6
  Author: Jamie Schmeiser <schmeise at ca.ibm.com>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

  Changed paths:
    M clang/lib/Parse/Parser.cpp
    A clang/test/Parser/altivec-non-type-vector.c
    A clang/test/Parser/altivec-template-vector.cpp
    A clang/test/Parser/altivec-typedef-vector.c

  Log Message:
  -----------
  When vector is found as a type or non-type id, check if it is really the
altivec vector token.

Call TryAltiVecVectorToken when an identifier is seen in the parser before
annotating the token.  This checks the next token where necessary to ensure
that vector is properly handled as the altivec token.




More information about the All-commits mailing list