HomePhabricator

[DeclCXX] Remove unknown external linkage specifications

Authored by ekatz on Nov 7 2019, 2:28 AM.

Description

[DeclCXX] Remove unknown external linkage specifications

Partial revert of r372681 "Support for DWARF-5 C++ language tags".

The change introduced new external linkage languages ("C++11" and
"C++14") which not supported in C++.

It also changed the definition of the existing enum to use the DWARF
constants. The problem is that "LinkageSpecDeclBits.Language" (the field
that reserves this enum) is actually defined as 3 bits length
(bitfield), which cannot contain the new DWARF constants. Defining the
enum as integer literals is more appropriate for maintaining valid
values.

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

Details

Committed
ekatzNov 21 2019, 5:23 AM
Differential Revision
D69935: [DeclCXX] Remove unknown external linkage specifications
Parents
rG7b957ddc981d: [Debuginfo][NFC] removes redundant semicolon.
Branches
Unknown
Tags
Unknown