[all-commits] [llvm/llvm-project] da3dc0: PR44684: Look through parens and similar construct...
Richard Smith via All-commits
all-commits at lists.llvm.org
Thu Feb 6 12:22:41 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: da3dc0011e06c9f1aebe71d76eae92dc76e3db2e
https://github.com/llvm/llvm-project/commit/da3dc0011e06c9f1aebe71d76eae92dc76e3db2e
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-02-06 (Thu, 06 Feb 2020)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseUncaughtExceptionsCheck.cpp
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 '+').
This reverts commit aaae6b1b617378362462c1685e754813ed82b394,
reinstating af80b8ccc5772c14920d4554b7ca7e15f2fad1c4, with a fix to
clang-tidy.
More information about the All-commits
mailing list