[PATCH] D75125: [Docs][OpenCL] Release 10.0 notes for OpenCL

2020-02-27 Thread Anastasia Stulova via Phabricator via cfe-commits
Anastasia added a comment. @hans, what is the current process for committing to the release branch? Would you be able to commit this or would you prefer that I commit myself? Thank you! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75125/new/ https://reviews.llvm.org/D75125 ___

[PATCH] D74973: [analyzer] StdLibraryFunctionsChecker refactor w/ inheritance

2020-02-27 Thread Endre Fülöp via Phabricator via cfe-commits
gamesh411 added inline comments. Comment at: clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:151 + + using ValueConstraintPtr = std::shared_ptr; + /// The complete list of constraints that defines a single branch. martong wrote: > Note here, we

[PATCH] D73898: [analyzer] StdLibraryFunctionsChecker: Add argument constraints

2020-02-27 Thread Balázs Kéri via Phabricator via cfe-commits
balazske added a comment. something like this: class MacroUsageDetector { public: void addMacroName(StringRef MName); bool isMacroUsed(StringRef MName, Expr *E, ???); APSInt getMacroValue(StringRef MName); }; Or one that handles a single macro? Repository: rG LLVM Github Mo

[clang] 8c26f42 - [clang, ARM, MVE] Remove redundant #includes in test file.

2020-02-27 Thread Simon Tatham via cfe-commits
Author: Simon Tatham Date: 2020-02-27T09:39:35Z New Revision: 8c26f42fe90e3f8612d2f57a3c9c5e7fcff5e91e URL: https://github.com/llvm/llvm-project/commit/8c26f42fe90e3f8612d2f57a3c9c5e7fcff5e91e DIFF: https://github.com/llvm/llvm-project/commit/8c26f42fe90e3f8612d2f57a3c9c5e7fcff5e91e.diff LOG:

[PATCH] D75230: [clangd] Get rid of lexer usage in ObjCLocalizeStringLiteral tweak

2020-02-27 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet created this revision. kadircet added a reviewer: hokein. Herald added subscribers: cfe-commits, usaxena95, arphaman, jkorous, MaskRay, ilya-biryukov. Herald added a project: clang. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D75230 Files: clang-tools-extra/clangd/

[PATCH] D73898: [analyzer] StdLibraryFunctionsChecker: Add argument constraints

2020-02-27 Thread Balázs Kéri via Phabricator via cfe-commits
balazske added a comment. It may be useful to make a "macro value map" kind of object. Some macros can be added to it as a string, and it is possible to lookup for an `Expr` if one of the added macros is used there. This can be done by checking the concrete (numeric) value of the `Expr` and com

[PATCH] D73898: [analyzer] StdLibraryFunctionsChecker: Add argument constraints

2020-02-27 Thread Endre Fülöp via Phabricator via cfe-commits
gamesh411 added inline comments. Comment at: clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:697-699 + // The behavior is undefined if the value of the argument is not + // representable as unsigned char or is not equal to EOF. See e.g. C99 + // 7

[PATCH] D75229: Add signal-in-multithreaded-program check

2020-02-27 Thread Kocsis Ábel via Phabricator via cfe-commits
abelkocsis created this revision. abelkocsis added reviewers: aaron.ballman, alexfh, hokein, jfb. abelkocsis added projects: clang, clang-tools-extra. Herald added subscribers: cfe-commits, mgehre, dexonsmith, mgorny. According to https://wiki.sei.cmu.edu/confluence/display/c/CON37-C.+Do+not+call

[clang-tools-extra] f31fc10 - [clangd] Get rid of lexer usage in AST.cpp

2020-02-27 Thread Kadir Cetinkaya via cfe-commits
Author: Kadir Cetinkaya Date: 2020-02-27T09:54:21+01:00 New Revision: f31fc1043d384e0b699fcb114694a5d8e1f51784 URL: https://github.com/llvm/llvm-project/commit/f31fc1043d384e0b699fcb114694a5d8e1f51784 DIFF: https://github.com/llvm/llvm-project/commit/f31fc1043d384e0b699fcb114694a5d8e1f51784.dif

[clang-tools-extra] 2bb7774 - [clangd] Get rid of getBeginningOfIdentifier helper

2020-02-27 Thread Kadir Cetinkaya via cfe-commits
Author: Kadir Cetinkaya Date: 2020-02-27T09:34:45+01:00 New Revision: 2bb7774ddf002668816fdb7c4a5b8da322fe284e URL: https://github.com/llvm/llvm-project/commit/2bb7774ddf002668816fdb7c4a5b8da322fe284e DIFF: https://github.com/llvm/llvm-project/commit/2bb7774ddf002668816fdb7c4a5b8da322fe284e.dif

<    1   2   3