[all-commits] [llvm/llvm-project] ba475a: [clang-repl] Disambiguate global namespace identif...

Jonas Hahnfeld via All-commits all-commits at lists.llvm.org
Mon Aug 14 01:11:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba475a4a3440a21e5de6a39a16215836f2614f04
      https://github.com/llvm/llvm-project/commit/ba475a4a3440a21e5de6a39a16215836f2614f04
  Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M clang/lib/Parse/ParseTentative.cpp
    M clang/test/Interpreter/disambiguate-decl-stmt.cpp

  Log Message:
  -----------
  [clang-repl] Disambiguate global namespace identifiers

A double colon starts an identifier name in the global namespace and
must be tentatively parsed as such.

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




More information about the All-commits mailing list