[PATCH] D37042: Teach clang to tolerate the 'p = nullptr + n' idiom used by glibc
Phabricator via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 19 13:28:28 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL313666: Teach clang to tolerate the 'p = nullptr + n' idiom used by glibc (authored by akaylor).
Changed prior to commit:
https://reviews.llvm.org/D37042?vs=115262&id=115889#toc
Repository:
rL LLVM
https://reviews.llvm.org/D37042
Files:
cfe/trunk/include/clang/AST/Expr.h
cfe/trunk/include/clang/Basic/DiagnosticGroups.td
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/lib/AST/Expr.cpp
cfe/trunk/lib/CodeGen/CGExprScalar.cpp
cfe/trunk/lib/Sema/SemaExpr.cpp
cfe/trunk/test/CodeGen/nullptr-arithmetic.c
cfe/trunk/test/Sema/pointer-addition.c
cfe/trunk/test/SemaCXX/nullptr-arithmetic.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37042.115889.patch
Type: text/x-patch
Size: 13764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170919/47d019ee/attachment-0001.bin>
More information about the cfe-commits
mailing list