[PATCH] align_value attribute in Clang

hfinkel at anl.gov hfinkel at anl.gov
Mon Sep 8 16:38:44 PDT 2014


Rebased, and removed from inappropriate isTypeDependent/isValueDependent checks (inappropriate here for the same reason they were inappropriate in patch D4601 for the assume_aligned attribute).

Work still needs to be done to allow use as a type attribute (so that the attribute follows type deduction, auto, etc.). I'll send a follow-up e-mail about this with questions.

http://reviews.llvm.org/D4635

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/AttributeList.h
  include/clang/Sema/Sema.h
  lib/CodeGen/CGCall.cpp
  lib/Sema/SemaDeclAttr.cpp
  lib/Sema/SemaTemplateInstantiateDecl.cpp
  test/CodeGen/align_value.cpp
  test/Sema/align_value.c
  test/SemaCXX/align_value.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4635.13430.patch
Type: text/x-patch
Size: 13435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140908/f1f5a67b/attachment.bin>


More information about the cfe-commits mailing list