[PATCH] D27181: [ASTImporter] Support for importing UsingDecl and UsingShadowDecl

2016-11-28 Thread Kareem Khazem via Phabricator via cfe-commits
khazem created this revision. khazem added reviewers: spyffe, a.sidorin. khazem added subscribers: cfe-commits, phosek, seanklein, klimek. Some of this patch comes from Aleksei's branch [1], with minor revisions. I've added unit tests and AST Matcher support. Copying in Manuel in case there is

[PATCH] D26904: [astimporter] Support importing CXXDependentScopeMemberExpr and FunctionTemplateDecl

2016-11-27 Thread Kareem Khazem via Phabricator via cfe-commits
khazem updated this revision to Diff 79371. khazem added a comment. Thanks for the comments, Aleksei! I've merged some aspects of the code you pointed me to, although I had to change some of it because some of the function calls have changed since 2015. In particular, I'm checking for

[PATCH] D27854: [analyzer] Add check for mutex acquisition during interrupt context in Magenta kernel

2016-12-16 Thread Kareem Khazem via Phabricator via cfe-commits
khazem created this revision. khazem added reviewers: dcoughlin, dergachev.a. khazem added subscribers: cfe-commits, phosek, seanklein. Herald added a subscriber: mgorny. Acquiring a mutex during the Magenta kernel exception handler can cause deadlocks and races. This patch adds a checker that

[PATCH] D26753: ASTImporter: improve support for C++ templates

2016-11-30 Thread Kareem Khazem via Phabricator via cfe-commits
khazem added a comment. Sorry for the late comment, but one of the tests that this introduces is breaking on my end: /usr/local/google/home/khazem/doc/llvm/tools/clang/test/ASTMerge/class-template-partial-spec.cpp:9:11: error: expected string not found in input // CHECK: