[PATCH] D39903: [libclang] Allow pretty printing declarations

2018-01-14 Thread Nikolai Kosjar via Phabricator via cfe-commits
nik added a comment. Can you submit this for me? I don't have the permissions. Repository: rC Clang https://reviews.llvm.org/D39903 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D39903: [libclang] Allow pretty printing declarations

2018-01-14 Thread Nikolai Kosjar via Phabricator via cfe-commits
nik updated this revision to Diff 129805. nik added a comment. Addressed inline comment. Repository: rC Clang https://reviews.llvm.org/D39903 Files: include/clang-c/Index.h test/Index/print-display-names.cpp tools/c-index-test/c-index-test.c tools/libclang/CIndex.cpp tools/libclang

[PATCH] D42049: [clangd] Merge results from static/dynamic index.

2018-01-14 Thread Sam McCall via Phabricator via cfe-commits
sammccall created this revision. sammccall added a reviewer: hokein. Herald added subscribers: cfe-commits, ilya-biryukov, mgorny, klimek. We now hide the static/dynamic split from the code completion, behind a new implementation of the SymbolIndex interface. This will reduce the complexity of the

[PATCH] D41809: Clang counterpart change for fuzzer FreeBSD support

2018-01-14 Thread Kamil Rytarowski via Phabricator via cfe-commits
krytarowski added a comment. Committed as SVN r. 322469. Repository: rL LLVM https://reviews.llvm.org/D41809 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r322469 - Clang counterpart change for fuzzer FreeBSD support

2018-01-14 Thread Kamil Rytarowski via cfe-commits
Author: kamil Date: Sun Jan 14 21:56:44 2018 New Revision: 322469 URL: http://llvm.org/viewvc/llvm-project?rev=322469&view=rev Log: Clang counterpart change for fuzzer FreeBSD support Summary: Providing fuzzer sanitizer support for FreeBSD (but only for X86/64 architectures). Reviewers: kimgr,

[PATCH] D41809: Clang counterpart change for fuzzer FreeBSD support

2018-01-14 Thread Phabricator via Phabricator via cfe-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rL322469: Clang counterpart change for fuzzer FreeBSD support (authored by kamil, committed by ). Herald added a subscriber:

[PATCH] D42043: c-index: CXString: fix MSAN read-past-end bug

2018-01-14 Thread Steve O'Brien via Phabricator via cfe-commits
elsteveogrande created this revision. Herald added a subscriber: cfe-commits. Previous impl would read the byte past the end of a string (a `llvm::StringRef`), possibly exceeding the allocation for that memory and raising an MSAN issue. This will instead save the character range specified by th

[PATCH] D42016: [X86] Implement old kunpck intrinsics using vector ops on vXi1 instead of integer shift/and/or

2018-01-14 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL322461: [X86] Implement old kunpck intrinsics using vector ops on vXi1 instead of… (authored by ctopper, committed by ). Changed prior to commit: https://reviews.llvm.org/D42016?vs=129723&id=129786#toc

r322461 - [X86] Implement old kunpck intrinsics using vector ops on vXi1 instead of integer shift/and/or

2018-01-14 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sun Jan 14 11:23:50 2018 New Revision: 322461 URL: http://llvm.org/viewvc/llvm-project?rev=322461&view=rev Log: [X86] Implement old kunpck intrinsics using vector ops on vXi1 instead of integer shift/and/or Summary: kunpck intrinsics were removed in favor of native IR a few

[PATCH] D41820: [coroutines] Pass coro func args to promise ctor

2018-01-14 Thread Brian Gesiak via Phabricator via cfe-commits
modocache updated this revision to Diff 129785. modocache added a comment. Thanks for the great review, @GorNishanov! You were exactly right, I had to remove the assert. I've taken all of your other suggestions as well. Let me know if anything else stands out at you. Also, thanks for the questio

[PATCH] [analyzer] Fix -x language argument for C preprocessed sources

2018-01-14 Thread Paul Fertser via cfe-commits
clang's -x option doesn't accept c-cpp-output as a language (even though 463eb6ab was merged, the driver still doesn't handle that). This bug prevents testing C language projects when ccache is used. Fixes #25851. Investigation and patch by Dave Rigby. --- tools/scan-build/libexec/ccc-analyzer

[PATCH] [scan-build] Add an option to skip overriding CC and CXX make vars

2018-01-14 Thread Paul Fertser via cfe-commits
Autoconf and some other systems tend to add essential compilation options to CC (e.g. -std=gnu99). When running such an auto-generated makefile, scan-build does not need to change CC and CXX as they are already set to use ccc-analyzer by a configure script. Implement a new option --keep-cc as was

[PATCH] D42036: [clang-format] Keep comments aligned to macros

2018-01-14 Thread Mark Zeren via Phabricator via cfe-commits
mzeren-vmw created this revision. mzeren-vmw added reviewers: euhlmann, krasimir, klimek. Herald added a subscriber: cfe-commits. r312125, which introduced preprocessor indentation, shipped with a known issue where "indentation of comments immediately before indented preprocessor lines is toggled

[PATCH] D42035: [clang-format] Fixup #include guard indents after parseFile()

2018-01-14 Thread Mark Zeren via Phabricator via cfe-commits
mzeren-vmw created this revision. mzeren-vmw added reviewers: euhlmann, krasimir, klimek. Herald added a subscriber: cfe-commits. When a preprocessor indent closes after the last line of normal code we do not correctly fixup include guard indents. For example: #ifndef HEADER_H #define HEADER_

[PATCH] D42034: [clang-format] In tests, expected code should be format-stable

2018-01-14 Thread Mark Zeren via Phabricator via cfe-commits
mzeren-vmw created this revision. mzeren-vmw added reviewers: klimek, krasimir, euhlmann. Herald added a subscriber: cfe-commits. Extend the verifyFormat helper function to check that the expected text is "stable". This provides some protection against bugs where formatting results are ocilating b