]> granicus.if.org Git - clang/commit
Reland "[Attr] Fix parameter indexing for several attributes"
authorJoel E. Denny <jdenny.ornl@gmail.com>
Tue, 13 Mar 2018 14:51:22 +0000 (14:51 +0000)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Tue, 13 Mar 2018 14:51:22 +0000 (14:51 +0000)
commitf4ca1ac809d708ef762f1134686a7afec656668d
tree943caffa47ef6d61479598faf1c0d39effb3d13f
parent39d91bde1edb585124a77c89d019ff85b0c9d4e6
Reland "[Attr] Fix parameter indexing for several attributes"

Relands r326602 (reverted in r326862) with new test and fix for
PR36620.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327405 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
include/clang/AST/Attr.h
include/clang/Basic/Attr.td
lib/AST/ExprConstant.cpp
lib/CodeGen/CGCall.cpp
lib/Sema/SemaChecking.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp
test/CodeGenCXX/alloc-size.cpp
test/Frontend/ast-attr.cpp [new file with mode: 0644]
test/Misc/ast-dump-attr.cpp
test/Sema/attr-ownership.cpp [new file with mode: 0644]
test/Sema/attr-print.cpp
test/Sema/error-type-safety.cpp
utils/TableGen/ClangAttrEmitter.cpp