This revision was automatically updated to reflect the committed changes.
Closed by commit rG9830901b341c: [clang] removes check against
integral-to-pointer conversion... (authored by cjdb).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97512/new/
h
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM! I think we can resolve the question of which way to ignore implicit nodes
and make any necessary changes post-commit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE
cjdb added inline comments.
Comment at: clang/lib/Sema/SemaChecking.cpp:10326
+ !isa(
+ Cast->getSubExpr()->IgnoreImplicitAsWritten()->IgnoreParens()))
+return;
thakis wrote:
> cjdb wrote:
> > cjdb wrote:
> > > aaron.ballman wrote:
> > > > I'm n
thakis added inline comments.
Comment at: clang/lib/Sema/SemaChecking.cpp:10326
+ !isa(
+ Cast->getSubExpr()->IgnoreImplicitAsWritten()->IgnoreParens()))
+return;
cjdb wrote:
> cjdb wrote:
> > aaron.ballman wrote:
> > > I'm not 100% certain, but
cjdb marked an inline comment as done.
cjdb added inline comments.
Comment at: clang/lib/Sema/SemaChecking.cpp:10326
+ !isa(
+ Cast->getSubExpr()->IgnoreImplicitAsWritten()->IgnoreParens()))
+return;
cjdb wrote:
> aaron.ballman wrote:
> > I'm no
cjdb updated this revision to Diff 326748.
cjdb added a comment.
`s/IgnoreImplicitAsWritten/IgnoreParenImpCasts/` since the latter seems to work.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97512/new/
https://reviews.llvm.org/D97512
Files:
cla
cjdb added a subscriber: rsmith.
cjdb added inline comments.
Comment at: clang/lib/Sema/SemaChecking.cpp:10320
+
+ const clang::CastKind Kind = Cast->getCastKind();
+ if (Kind == clang::CK_BitCast &&
aaron.ballman wrote:
> We don't typically use top-level `cons
cjdb updated this revision to Diff 326742.
cjdb marked 2 inline comments as done.
cjdb added a comment.
applies comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97512/new/
https://reviews.llvm.org/D97512
Files:
clang/lib/Sema/SemaChecking.
aaron.ballman added inline comments.
Comment at: clang/lib/Sema/SemaChecking.cpp:10320
+
+ const clang::CastKind Kind = Cast->getCastKind();
+ if (Kind == clang::CK_BitCast &&
We don't typically use top-level `const` on locals or params.
Comm
cjdb updated this revision to Diff 326723.
cjdb edited the summary of this revision.
cjdb added a comment.
updates commit message to explain what's going on and why the change
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97512/new/
https://reviews
lebedev.ri added a comment.
Patch is missing a description of the problem.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97512/new/
https://reviews.llvm.org/D97512
___
cfe-commits mailing list
cfe-commit
cjdb created this revision.
cjdb added a reviewer: aaron.ballman.
cjdb requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
... unless it's a literal
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97512
Files:
clang/lib/Se
12 matches
Mail list logo