Skip to content

Commit 3b556c3

Browse files
committed
[FOLD] add release note
1 parent 5d8c72f commit 3b556c3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ Clang Frontend Potentially Breaking Changes
111111
$ clang --target=<your target triple> -print-target-triple
112112
<the normalized target triple>
113113

114+
- The ``getTypeAsWritten`` member function has been removed from ``ClassTemplateSpecializationDecl`` and
115+
``VarTemplateSpecializationDecl``, and a new member function ``getTemplateArgsAsWritten`` returning a
116+
``const ASTTemplateArgumentListInfo *`` has been added to access to the explicitly written template
117+
argument list of explicit specializations, partial specializations, and explicit instantiations of
118+
class and variable templates. Consequently, the ``hasTypeLoc`` AST matcher will no longer match these
119+
declarations and existing uses should switch to ``TemplateArgumentLoc`` matchers instead.
120+
114121
What's New in Clang |release|?
115122
==============================
116123
Some of the major new features and improvements to Clang are listed

0 commit comments

Comments
 (0)