[all-commits] [llvm/llvm-project] af80b8: PR44684: Look through parens and similar construct...
Richard Smith via All-commits
all-commits at lists.llvm.org
Mon Jan 27 18:21:08 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: af80b8ccc5772c14920d4554b7ca7e15f2fad1c4
https://github.com/llvm/llvm-project/commit/af80b8ccc5772c14920d4554b7ca7e15f2fad1c4
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-01-27 (Mon, 27 Jan 2020)
Changed paths:
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/test/Parser/builtin_classify_type.c
M clang/test/Sema/constant-builtins.c
Log Message:
-----------
PR44684: Look through parens and similar constructs when determining
whether a call is to a builtin.
We already had a general mechanism to do this but for some reason
weren't using it. In passing, check for the other unary operators that
can intervene in a reasonably-direct function call (we already handled
'&' but missed '*' and '+').
More information about the All-commits
mailing list