Author: arphaman
Date: Thu Aug 22 12:00:08 2019
New Revision: 369688
URL: http://llvm.org/viewvc/llvm-project?rev=369688=rev
Log:
Disable the ScanDepsReuseFilemanager test on Windows
Right now it fails.
I'm going to investigate it and fix it in follow-up commits.
Modified:
Author: arphaman
Date: Thu Aug 22 11:15:50 2019
New Revision: 369680
URL: http://llvm.org/viewvc/llvm-project?rev=369680=rev
Log:
Introduce FileEntryRef and use it when handling includes to report correct
dependencies
when the FileManager is reused across invocations
This commit introduces a
Author: arphaman
Date: Wed Aug 21 14:37:09 2019
New Revision: 369585
URL: http://llvm.org/viewvc/llvm-project?rev=369585=rev
Log:
NFCI: Simplify SourceManager::translateFile by removing code path that should
never be taken
I noticed that SourceManager::translateFile has code that doesn't really
Author: arphaman
Date: Mon Aug 12 17:36:35 2019
New Revision: 368640
URL: http://llvm.org/viewvc/llvm-project?rev=368640=rev
Log:
clang-scan-deps: do not spawn threads when LLVM_ENABLE_THREADS is disabled
Modified:
cfe/trunk/test/ClangScanDeps/regular_cdb.cpp
Author: arphaman
Date: Tue Aug 6 14:45:43 2019
New Revision: 368092
URL: http://llvm.org/viewvc/llvm-project?rev=368092=rev
Log:
fix clang-scan-deps test to match filepaths on Windows
Modified:
cfe/trunk/test/ClangScanDeps/header_stat_before_open.m
Modified:
Author: arphaman
Date: Tue Aug 6 13:43:25 2019
New Revision: 368086
URL: http://llvm.org/viewvc/llvm-project?rev=368086=rev
Log:
[clang-scan-deps] Implementation of dependency scanner over minimized sources
This commit implements the fast dependency scanning mode in clang-scan-deps: the
Author: arphaman
Date: Tue Jul 30 17:12:00 2019
New Revision: 367371
URL: http://llvm.org/viewvc/llvm-project?rev=367371=rev
Log:
NFCI, optimize layout of FileEntry
The reordering of the UID field makes the size of a
FileEntry 8 bytes smaller on 64bit platforms.
Modified:
Author: arphaman
Date: Thu Jul 18 15:33:14 2019
New Revision: 366509
URL: http://llvm.org/viewvc/llvm-project?rev=366509=rev
Log:
[clang-scan-deps] Dependency directives source minimizer: handle #pragma once
We should re-emit `#pragma once` to ensure the preprocessor will
still honor it when
Author: arphaman
Date: Fri Jul 12 15:29:44 2019
New Revision: 365969
URL: http://llvm.org/viewvc/llvm-project?rev=365969=rev
Log:
NFC: utils/perf-training: Python 3 compatibility for lit.cfg
The output of subprocess.check_output is now bytes. We need to decode it.
Modified:
Author: arphaman
Date: Wed Jul 10 15:00:59 2019
New Revision: 365700
URL: http://llvm.org/viewvc/llvm-project?rev=365700=rev
Log:
[clang-scan-deps] Dependency directives source minimizer:
single quotes are not digit separators after a valid character literal prefix
The single quote character can
Author: arphaman
Date: Wed Jul 3 11:01:32 2019
New Revision: 365065
URL: http://llvm.org/viewvc/llvm-project?rev=365065=rev
Log:
[clang-scan-deps] use `-Wno-error` when scanning for dependencies
Warnings can be promoted to errors.
But that shouldn't prevent us from getting the dependencies!
Author: arphaman
Date: Wed Jun 26 14:11:51 2019
New Revision: 364474
URL: http://llvm.org/viewvc/llvm-project?rev=364474=rev
Log:
[clang-scan-deps] Introduce the DependencyScanning library with the
thread worker code and better error handling
This commit extracts out the code that will powers
Author: arphaman
Date: Fri Jun 21 11:24:55 2019
New Revision: 364088
URL: http://llvm.org/viewvc/llvm-project?rev=364088=rev
Log:
[clang-scan-deps] print the dependencies to stdout
and remove the need to use -MD options in the CDB
Differential Revision: https://reviews.llvm.org/D63579
Modified:
Author: arphaman
Date: Wed Jun 19 10:07:36 2019
New Revision: 363840
URL: http://llvm.org/viewvc/llvm-project?rev=363840=rev
Log:
Unify DependencyFileGenerator class and DependencyCollector interface (NFCI)
Make DependencyFileGenerator a DependencyCollector as it was intended when
Author: arphaman
Date: Tue Jun 18 14:36:30 2019
New Revision: 363742
URL: http://llvm.org/viewvc/llvm-project?rev=363742=rev
Log:
[test] NFC, udpate clang-scan-deps tests to not use -c to avoid driver issues
when no integrated assembler is present
Caught by Douglas Yung.
Modified:
Author: arphaman
Date: Wed Jun 12 14:52:36 2019
New Revision: 363208
URL: http://llvm.org/viewvc/llvm-project?rev=363208=rev
Log:
[clang-scan-deps] Include in ClangScanDeps.cpp to ensure it
builds on all platforms
Modified:
cfe/trunk/tools/clang-scan-deps/ClangScanDeps.cpp
Modified:
Author: arphaman
Date: Wed Jun 12 14:45:28 2019
New Revision: 363207
URL: http://llvm.org/viewvc/llvm-project?rev=363207=rev
Log:
NFC, Update the ClangScanDeps.cpp file's license comment
The file ClangScanDeps.cpp from r363204 had the old outdated LLVM
license comment at the top of the file that
Author: arphaman
Date: Wed Jun 12 14:37:32 2019
New Revision: 363205
URL: http://llvm.org/viewvc/llvm-project?rev=363205=rev
Log:
NFC, fixup indentation in CMakeLists.txt from r363204 as requested
in the review.
I missed that review comment from https://reviews.llvm.org/D60233 in the
original
Author: arphaman
Date: Wed Jun 12 14:32:49 2019
New Revision: 363204
URL: http://llvm.org/viewvc/llvm-project?rev=363204=rev
Log:
[clang-scan-deps] initial outline of the tool that runs preprocessor to find
dependencies over a JSON compilation database
This commit introduces an outline for the
Author: arphaman
Date: Wed Jun 12 13:35:44 2019
New Revision: 363199
URL: http://llvm.org/viewvc/llvm-project?rev=363199=rev
Log:
[test] Reinstate the assignment to the diagnostic log in the unittest
from r363009
The diagnostic log is now set to "-" which forces it to use STDERR
instead of the
Author: arphaman
Date: Mon Jun 10 16:32:42 2019
New Revision: 363009
URL: http://llvm.org/viewvc/llvm-project?rev=363009=rev
Log:
[Frontend] SetUpDiagnosticLog should handle unowned diagnostic consumer
in the compiler
The function SetUpDiagnosticLog that was called from createDiagnostics didn't
Author: arphaman
Date: Mon Jun 3 16:17:21 2019
New Revision: 362463
URL: http://llvm.org/viewvc/llvm-project?rev=362463=rev
Log:
Fix windows build for commit r362459
Modified:
cfe/trunk/lib/Lex/DependencyDirectivesSourceMinimizer.cpp
Modified:
Author: arphaman
Date: Mon Jun 3 15:59:17 2019
New Revision: 362459
URL: http://llvm.org/viewvc/llvm-project?rev=362459=rev
Log:
Add clang source minimizer that reduces source to directives
that might affect the dependency list for a compilation
This commit introduces a dependency directives
Author: arphaman
Date: Thu May 9 13:35:41 2019
New Revision: 360374
URL: http://llvm.org/viewvc/llvm-project?rev=360374=rev
Log:
NFC, make XFAIL work on macOS correctly for
test/Driver/XRay/xray-instrument-os.c
The test 'test/Driver/XRay/xray-instrument-os.c' is supposed to XFAIL on
-darwin
Author: arphaman
Date: Fri Apr 26 15:58:31 2019
New Revision: 359356
URL: http://llvm.org/viewvc/llvm-project?rev=359356=rev
Log:
[clang][driver] Weaken the test from 359353 to appease Windows bots
Modified:
cfe/trunk/test/Driver/arclite-link-external-toolchain.c
Modified:
Author: arphaman
Date: Fri Apr 26 15:40:47 2019
New Revision: 359353
URL: http://llvm.org/viewvc/llvm-project?rev=359353=rev
Log:
[driver][macOS] Link libarclite from the default toolchain when clang
is running in a toolchain outside of xcode
'libarclite' usually lives in the same toolchain as
Author: arphaman
Date: Thu Apr 4 18:48:11 2019
New Revision: 357740
URL: http://llvm.org/viewvc/llvm-project?rev=357740=rev
Log:
[test] Specify an explicit darwin version in a triple in
`test/Driver/debug-options.c` to ensure that the driver
selects the DWARF 2 version as intended by the test.
Author: arphaman
Date: Wed Mar 20 13:02:00 2019
New Revision: 356605
URL: http://llvm.org/viewvc/llvm-project?rev=356605=rev
Log:
Fix implicit ios -> watchOS availability version mapping for
versions that have the major number only
rdar://48018651
Modified:
Author: arphaman
Date: Thu Jan 24 15:07:58 2019
New Revision: 352125
URL: http://llvm.org/viewvc/llvm-project?rev=352125=rev
Log:
[clang-format] square parens with one token are not Objective-C message sends
The commit r322690 introduced support for ObjC detection in header files.
Unfortunately
Author: arphaman
Date: Thu Jan 24 11:14:39 2019
New Revision: 352084
URL: http://llvm.org/viewvc/llvm-project?rev=352084=rev
Log:
Add a priority field to availability attributes to prioritize explicit
attributes from declaration over attributes from '#pragma clang attribute'
Before this commit
Author: arphaman
Date: Thu Jan 17 10:12:45 2019
New Revision: 351459
URL: http://llvm.org/viewvc/llvm-project?rev=351459=rev
Log:
[ObjC] Follow-up r350768 and allow the use of unavailable methods that are
declared in a parent class from within the @implementation context
This commit extends
Author: arphaman
Date: Wed Jan 9 14:31:37 2019
New Revision: 350768
URL: http://llvm.org/viewvc/llvm-project?rev=350768=rev
Log:
[ObjC] Allow the use of implemented unavailable methods from within
the @implementation context
In Objective-C, it's common for some frameworks to mark some methods
Author: arphaman
Date: Tue Jan 8 15:28:37 2019
New Revision: 350680
URL: http://llvm.org/viewvc/llvm-project?rev=350680=rev
Log:
[libclang] Fix the mismatched delete operator for ExprEvalResult
The '.stringVal' field in ExprEvalResult is allocated using new[],
but was freed using a regular
Author: arphaman
Date: Tue Jan 8 14:32:51 2019
New Revision: 350666
URL: http://llvm.org/viewvc/llvm-project?rev=350666=rev
Log:
[libclang] Recommit r336590 with a fix for the memory leak in the test
The original commit had a memory leak in the test has a leak as it doesn't
dispose of the
Author: arphaman
Date: Wed Jan 2 17:30:50 2019
New Revision: 350283
URL: http://llvm.org/viewvc/llvm-project?rev=350283=rev
Log:
Fix incorrect column numbers in test from r350282.
After the test was reformatted using clang-format the numbers became invalid.
Modified:
Author: arphaman
Date: Wed Jan 2 17:13:33 2019
New Revision: 350282
URL: http://llvm.org/viewvc/llvm-project?rev=350282=rev
Log:
[libclang] CoroutineBody/Coreturn statements are UnexposedStmts and not Exprs
This change ensures that the libclang CXCursor represents the CoroutineBody
and the
Author: arphaman
Date: Fri Dec 21 11:33:09 2018
New Revision: 349942
URL: http://llvm.org/viewvc/llvm-project?rev=349942=rev
Log:
Remove stat cache chaining as it's no longer needed after PTH support has been
removed
Stat cache chaining was implemented for a StatListener in the PTH writer so
Author: arphaman
Date: Thu Dec 20 14:11:11 2018
New Revision: 349841
URL: http://llvm.org/viewvc/llvm-project?rev=349841=rev
Log:
[ObjC] Messages to 'self' in class methods that return 'instancetype' should
use the pointer to the class as the result type of the message
Prior to this commit,
Author: arphaman
Date: Mon Dec 17 13:01:04 2018
New Revision: 349393
URL: http://llvm.org/viewvc/llvm-project?rev=349393=rev
Log:
Make test/Driver/darwin-sdk-version.c pass on hosts < macOS10.14
The test test/Driver/darwin-sdk-version.c from r349380 checks if the macOS
deployment target can be
Author: arphaman
Date: Mon Dec 17 12:25:41 2018
New Revision: 349388
URL: http://llvm.org/viewvc/llvm-project?rev=349388=rev
Log:
Fix build after r349380
Modified:
cfe/trunk/include/clang/Basic/TargetOptions.h
Modified: cfe/trunk/include/clang/Basic/TargetOptions.h
URL:
Author: arphaman
Date: Mon Dec 17 11:30:46 2018
New Revision: 349382
URL: http://llvm.org/viewvc/llvm-project?rev=349382=rev
Log:
[darwin][arm64] use the "cyclone" CPU for Darwin even when `-arch`
is not specified
The -target option allows the user to specify the build target using LLVM
triple.
Author: arphaman
Date: Mon Dec 17 11:19:15 2018
New Revision: 349380
URL: http://llvm.org/viewvc/llvm-project?rev=349380=rev
Log:
[darwin] parse the SDK settings from SDKSettings.json if it exists and
pass in the -target-sdk-version to the compiler and backend
This commit adds support for
Author: arphaman
Date: Thu Dec 6 14:45:58 2018
New Revision: 348540
URL: http://llvm.org/viewvc/llvm-project?rev=348540=rev
Log:
[frontend][darwin] warn_stdlibcxx_not_found: supress warning for preprocessed
input
Addresses second post-commit feedback for r335081 from Nico
Modified:
Author: arphaman
Date: Wed Dec 5 18:44:23 2018
New Revision: 348448
URL: http://llvm.org/viewvc/llvm-project?rev=348448=rev
Log:
[darwin] remove version number check when enabling
-fobjc-subscripting-legacy-runtime
This subscripting feature actually works on older OS versions anyway.
Author: arphaman
Date: Tue Nov 13 17:08:03 2018
New Revision: 346822
URL: http://llvm.org/viewvc/llvm-project?rev=346822=rev
Log:
[HeaderSearch] loadSubdirectoryModuleMaps should respect -working-directory
Include search paths can be relative paths. The loadSubdirectoryModuleMaps
function
Author: arphaman
Date: Fri Sep 7 11:59:45 2018
New Revision: 341697
URL: http://llvm.org/viewvc/llvm-project?rev=341697=rev
Log:
warn_stdlibcxx_not_found: suggest '-stdlib=libc++' instead of '-std'
Addresses first post-commit feedback for r335081 from Nico
Modified:
Author: arphaman
Date: Wed Aug 22 13:30:06 2018
New Revision: 340449
URL: http://llvm.org/viewvc/llvm-project?rev=340449=rev
Log:
[clangd] send diagnostic categories only when 'categorySupport'
capability was given by the client
After r339738 Clangd started sending categories with each
Author: arphaman
Date: Fri Aug 17 15:18:08 2018
New Revision: 340102
URL: http://llvm.org/viewvc/llvm-project?rev=340102=rev
Log:
[ObjC] Error out when using forward-declared protocol in a @protocol
expression
Clang emits invalid protocol metadata when a @protocol expression is used with a
Author: arphaman
Date: Tue Aug 14 15:27:03 2018
New Revision: 339739
URL: http://llvm.org/viewvc/llvm-project?rev=339739=rev
Log:
[clangd] update the new test to check for diagnostic's category as well
Modified:
clang-tools-extra/trunk/test/clangd/fixits-embed-in-diagnostic.test
Modified:
Author: arphaman
Date: Tue Aug 14 15:21:40 2018
New Revision: 339738
URL: http://llvm.org/viewvc/llvm-project?rev=339738=rev
Log:
[clangd] add an extension field to LSP to transfer the diagnostic's category
This patch adds a 'category' extension field to the LSP diagnostic that's sent
by Clangd.
Author: arphaman
Date: Tue Aug 14 15:20:35 2018
New Revision: 339737
URL: http://llvm.org/viewvc/llvm-project?rev=339737=rev
Log:
[clangd] add missing test from r339454
I forgot to checkin the test for the fixits into SVN.
Added:
Author: arphaman
Date: Fri Aug 10 10:25:07 2018
New Revision: 339454
URL: http://llvm.org/viewvc/llvm-project?rev=339454=rev
Log:
[clangd] extend the publishDiagnostics response to send back fixits to the
client if the client supports this extension
This commit extends the
Author: arphaman
Date: Fri Aug 3 13:43:28 2018
New Revision: 338919
URL: http://llvm.org/viewvc/llvm-project?rev=338919=rev
Log:
[clangd] capitalize diagnostic messages
The diagnostic messages that are sent to the client from Clangd are now always
capitalized.
Differential Revision:
Author: arphaman
Date: Wed Aug 1 10:39:29 2018
New Revision: 338597
URL: http://llvm.org/viewvc/llvm-project?rev=338597=rev
Log:
[clangd] allow clients to control the compilation database by passing in
compilationDatabaseChanges in the 'workspace/didChangeConfiguration' request
This commit
Author: arphaman
Date: Wed Jul 25 16:59:54 2018
New Revision: 337984
URL: http://llvm.org/viewvc/llvm-project?rev=337984=rev
Log:
[libc++] Follow-up to r337968: use an explicit cast as suggested by Eric
Modified:
libcxx/trunk/src/experimental/filesystem/filesystem_common.h
Modified:
Author: arphaman
Date: Wed Jul 25 14:50:44 2018
New Revision: 337968
URL: http://llvm.org/viewvc/llvm-project?rev=337968=rev
Log:
[libc++] Follow-up to r337960: specify lambda's return type to avoid
-Wc++11-narrowing warning on Darwin
The internal CI produced the following diagnostic:
error:
Author: arphaman
Date: Mon Jul 23 17:27:31 2018
New Revision: 337782
URL: http://llvm.org/viewvc/llvm-project?rev=337782=rev
Log:
Revert r337727 as it caused Darwin bot failures
Modified:
libcxx/trunk/CMakeLists.txt
Modified: libcxx/trunk/CMakeLists.txt
URL:
Author: arphaman
Date: Mon Jul 9 12:56:45 2018
New Revision: 336591
URL: http://llvm.org/viewvc/llvm-project?rev=336591=rev
Log:
[libclang] NFC, simplify clang_Cursor_Evaluate
Take advantage of early returns as suggested by Duncan in
https://reviews.llvm.org/D49051
Modified:
Author: arphaman
Date: Mon Jul 9 12:41:28 2018
New Revision: 336590
URL: http://llvm.org/viewvc/llvm-project?rev=336590=rev
Log:
[libclang] evalute compound statement cursors before trying to evaluate
the cursor like a declaration
This change fixes a bug in libclang in which it tries to
Author: arphaman
Date: Thu Jul 5 15:51:11 2018
New Revision: 336396
URL: http://llvm.org/viewvc/llvm-project?rev=336396=rev
Log:
[Sema] -Wformat-pedantic only for NSInteger/NSUInteger %tu/%td on Darwin
The '%tu'/'%td' as formatting specifiers have been used to print out the
NSInteger/NSUInteger
Author: arphaman
Date: Thu Jun 28 16:23:45 2018
New Revision: 335940
URL: http://llvm.org/viewvc/llvm-project?rev=335940=rev
Log:
[frontend] Don't include the C++ stdlib for -x assembler-with-cpp
The new C++ stdlib warning added in r335081 gets
triggered when compiling an assembly file with -x
Author: arphaman
Date: Tue Jun 19 15:47:53 2018
New Revision: 335081
URL: http://llvm.org/viewvc/llvm-project?rev=335081=rev
Log:
Recommit r335063: [Darwin] Add a warning for missing include path for libstdc++
The recommit ensures that the tests that failed on bots don't trigger the
warning.
Author: arphaman
Date: Tue Jun 19 12:43:07 2018
New Revision: 335073
URL: http://llvm.org/viewvc/llvm-project?rev=335073=rev
Log:
Revert r335063 as it causes bot failures
Removed:
cfe/trunk/test/Frontend/warning-stdlibcxx-darwin.cpp
Modified:
Author: arphaman
Date: Tue Jun 19 10:56:03 2018
New Revision: 335063
URL: http://llvm.org/viewvc/llvm-project?rev=335063=rev
Log:
[Darwin] Add a warning for missing include path for libstdc++
Xcode 10 removes support for libstdc++, but the users just get a confusing
include not file warning when
Author: arphaman
Date: Tue May 22 17:52:20 2018
New Revision: 333046
URL: http://llvm.org/viewvc/llvm-project?rev=333046=rev
Log:
[AST][ObjC] Print implicit property expression that only has a setter without
crashing
rdar://40447209
Modified:
cfe/trunk/include/clang/Basic/IdentifierTable.h
Author: arphaman
Date: Wed May 2 18:12:06 2018
New Revision: 331421
URL: http://llvm.org/viewvc/llvm-project?rev=331421=rev
Log:
[ObjC] Supress the 'implementing unavailable method' warning when
the method declaration is unavailable for an app extension platform
Rationale:
Classes are often
Author: arphaman
Date: Wed May 2 15:40:19 2018
New Revision: 331409
URL: http://llvm.org/viewvc/llvm-project?rev=331409=rev
Log:
[ObjC] The absence of ownership qualifiers on an ambiguous property leads
to synthesis of a valid property even when the selected protocol property
has ownership
Author: arphaman
Date: Wed Apr 25 15:23:26 2018
New Revision: 330878
URL: http://llvm.org/viewvc/llvm-project?rev=330878=rev
Log:
[driver][darwin] Do not infer -simulator environment for OS version env vars
with non-simulator SDKs
rdar://37955008
Modified:
Author: arphaman
Date: Fri Apr 6 17:03:27 2018
New Revision: 329465
URL: http://llvm.org/viewvc/llvm-project?rev=329465=rev
Log:
Recommit r329442: Generate Libclang invocation reproducers using a new
-cc1gen-reproducer driver option
The recommit fixes:
- An MSAN failure (CCPrintOptions wasn't
Author: arphaman
Date: Fri Apr 6 12:45:29 2018
New Revision: 329447
URL: http://llvm.org/viewvc/llvm-project?rev=329447=rev
Log:
Revert r329442 "Generate Libclang invocation reproducers using a new
-cc1gen-reproducer driver option"
The tests are failing on some bots
Removed:
Author: arphaman
Date: Fri Apr 6 11:30:14 2018
New Revision: 329442
URL: http://llvm.org/viewvc/llvm-project?rev=329442=rev
Log:
Generate Libclang invocation reproducers using a new -cc1gen-reproducer
driver option
This commit is a follow up to the previous work that recorded Libclang
Author: arphaman
Date: Thu Apr 5 11:12:06 2018
New Revision: 329324
URL: http://llvm.org/viewvc/llvm-project?rev=329324=rev
Log:
Remove the temporary availability checking workaround for
the nested declarations in @interface.
rdar://28825862
Modified:
cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Author: arphaman
Date: Tue Apr 3 19:11:20 2018
New Revision: 329141
URL: http://llvm.org/viewvc/llvm-project?rev=329141=rev
Log:
Split test/Driver/darwin-sdkroot.c into two tests
The test additions in r329110 are Darwin-specific, as they rely
on a code path that is reachabled when driver is
Author: arphaman
Date: Tue Apr 3 14:10:26 2018
New Revision: 329113
URL: http://llvm.org/viewvc/llvm-project?rev=329113=rev
Log:
Add REQUIRES: darwin-system to test/Driver/darwin-sdkroot.c
The test from r329110 is for Darwin only
Modified:
cfe/trunk/test/Driver/darwin-sdkroot.c
Modified:
Author: arphaman
Date: Tue Apr 3 13:50:05 2018
New Revision: 329110
URL: http://llvm.org/viewvc/llvm-project?rev=329110=rev
Log:
[driver][darwin] Do not infer -simulator environment for non-simulator SDKs
rdar://36369832
Modified:
cfe/trunk/lib/Driver/ToolChains/Darwin.cpp
Author: arphaman
Date: Mon Mar 12 12:36:29 2018
New Revision: 327322
URL: http://llvm.org/viewvc/llvm-project?rev=327322=rev
Log:
[Tooling] Clear the PreambleSrcLocCache when preamble is discarded during
reparsing
This ensures that diagnostics are not remapped to incorrect preamble locations
Author: arphaman
Date: Fri Feb 23 15:49:43 2018
New Revision: 325994
URL: http://llvm.org/viewvc/llvm-project?rev=325994=rev
Log:
[Sema][ObjC] Process category attributes before checking protocol uses
This ensures that any availability attributes are attached to the
category before the
Author: arphaman
Date: Thu Feb 8 13:20:43 2018
New Revision: 324651
URL: http://llvm.org/viewvc/llvm-project?rev=324651=rev
Log:
PR36307: Consume the #pragma options align annotation token after
semantic analysis to prevent incorrect -Wpragma-pack warning for an included
file
rdar://37354951
Author: arphaman
Date: Wed Feb 7 12:45:39 2018
New Revision: 324514
URL: http://llvm.org/viewvc/llvm-project?rev=324514=rev
Log:
[PR36008] Avoid -Wsign-compare warning for enum constants in
typeof expressions
This commit looks through typeof type at the original expression when diagnosing
Author: arphaman
Date: Wed Jan 31 13:59:02 2018
New Revision: 323921
URL: http://llvm.org/viewvc/llvm-project?rev=323921=rev
Log:
[PR32482] Fix bitfield layout for -mms-bitfield and pragma pack
The patch ensures that a new storage unit is created when the new bitfield's
size is wider than the
Author: arphaman
Date: Wed Jan 3 15:52:42 2018
New Revision: 321775
URL: http://llvm.org/viewvc/llvm-project?rev=321775=rev
Log:
PR35815: Separate out the ns-consumed diagnostic into an error and
a warning
This commit separates out the warn_nsconsumed_attribute_mismatch and
Author: arphaman
Date: Fri Dec 29 09:42:40 2017
New Revision: 321559
URL: http://llvm.org/viewvc/llvm-project?rev=321559=rev
Log:
[driver][darwin] Take the OS version from -m-version-min argument when
-target has no OS version
This ensures that Clang won't warn about redundant -m-version-min
Author: arphaman
Date: Wed Dec 20 13:03:38 2017
New Revision: 321222
URL: http://llvm.org/viewvc/llvm-project?rev=321222=rev
Log:
Fix an assertion failure regression in isDesignatorAtObjectEnd for
__builtin_object_size with incomplete array type in struct
The commit r316245 introduced a
Author: arphaman
Date: Tue Dec 19 18:31:30 2017
New Revision: 321145
URL: http://llvm.org/viewvc/llvm-project?rev=321145=rev
Log:
[darwin][driver] Warn about mismatching --version-min rather than
superfluous --version-min compiler option
rdar://35813850
Differential Revision:
Author: arphaman
Date: Tue Dec 19 11:56:14 2017
New Revision: 321102
URL: http://llvm.org/viewvc/llvm-project?rev=321102=rev
Log:
[driver][darwin] Set the 'simulator' environment when it's specified
in '-target'
rdar://35742458
Differential Revision: https://reviews.llvm.org/D41076
Modified:
Author: arphaman
Date: Tue Dec 19 11:05:04 2017
New Revision: 321099
URL: http://llvm.org/viewvc/llvm-project?rev=321099=rev
Log:
[driver][darwin] Take the OS version specified in "-target" as the target
OS instead of inferring it from SDK / environment
The OS version is specified in -target
Author: arphaman
Date: Fri Dec 15 12:07:53 2017
New Revision: 320854
URL: http://llvm.org/viewvc/llvm-project?rev=320854=rev
Log:
__is_target_environment: Check the environment after parsing it
This ensures that target triples with environment versions can still work with
Author: arphaman
Date: Fri Dec 15 11:58:38 2017
New Revision: 320853
URL: http://llvm.org/viewvc/llvm-project?rev=320853=rev
Log:
__is_target_arch: Check the arch and subarch instead of the arch name
This ensures that when compiling for "arm64" __is_target_arch will succeed for
both "arm64" and
Author: arphaman
Date: Thu Dec 14 15:40:42 2017
New Revision: 320766
URL: http://llvm.org/viewvc/llvm-project?rev=320766=rev
Log:
Remove duplicate python libclang changes from r320748
Modified:
cfe/trunk/bindings/python/clang/cindex.py
Author: arphaman
Date: Thu Dec 14 14:01:50 2017
New Revision: 320748
URL: http://llvm.org/viewvc/llvm-project?rev=320748=rev
Log:
[libclang] Add support for checking abstractness of records
This patch allows checking whether a C++ record declaration is abstract through
libclang and clang.cindex
Author: arphaman
Date: Thu Dec 14 11:22:41 2017
New Revision: 320735
URL: http://llvm.org/viewvc/llvm-project?rev=320735=rev
Log:
Commit missing tests for r320734
Added:
cfe/trunk/test/Preprocessor/is_target.c
cfe/trunk/test/Preprocessor/is_target_arm.c
Author: arphaman
Date: Thu Dec 14 11:22:02 2017
New Revision: 320734
URL: http://llvm.org/viewvc/llvm-project?rev=320734=rev
Log:
[Preprocessor] Implement __is_target_{arch|vendor|os|environment} function-like
builtin macros
This patch implements the __is_target_arch, __is_target_vendor,
Author: arphaman
Date: Fri Dec 8 18:56:48 2017
New Revision: 320238
URL: http://llvm.org/viewvc/llvm-project?rev=320238=rev
Log:
Fix Driver/darwin-version.c test
A target argument should be provided to avoid failures on non-Darwin
Modified:
cfe/trunk/test/Driver/darwin-version.c
Modified:
Author: arphaman
Date: Fri Dec 8 18:27:11 2017
New Revision: 320235
URL: http://llvm.org/viewvc/llvm-project?rev=320235=rev
Log:
[driver][darwin] Refactor the target selection code, NFC
The simulator variant of Darwin's platforms is removed in favor of a new
environment field.
The code that
Author: arphaman
Date: Thu Dec 7 12:37:50 2017
New Revision: 320085
URL: http://llvm.org/viewvc/llvm-project?rev=320085=rev
Log:
[libclang] Record code-completion invocations to a temporary file when
requested by client
This is a follow up to r319702 which records parsing invocations.
These
Author: arphaman
Date: Thu Dec 7 11:04:10 2017
New Revision: 320073
URL: http://llvm.org/viewvc/llvm-project?rev=320073=rev
Log:
[driver] Set the 'simulator' environment for Darwin when compiling for
iOS/tvOS/watchOS simulator
rdar://35135215
Differential Revision:
Author: arphaman
Date: Tue Dec 5 13:33:05 2017
New Revision: 319836
URL: http://llvm.org/viewvc/llvm-project?rev=319836=rev
Log:
Fix one more record-parsing-invocation.c test issue on Windows
Lit's env should be used before not.
Sean Eveson pointed out the right solution. Thanks!
Modified:
Author: arphaman
Date: Mon Dec 4 18:30:43 2017
New Revision: 319729
URL: http://llvm.org/viewvc/llvm-project?rev=319729=rev
Log:
[libclang] Store unsaved file hashes when recording parsing invocations
Storing the contents of unsaved files is too expensive.
Instead a hash is stored with a record
Author: arphaman
Date: Mon Dec 4 15:21:07 2017
New Revision: 319715
URL: http://llvm.org/viewvc/llvm-project?rev=319715=rev
Log:
Fix record-parsing-invocation.c test on Windows
We should not check for the forward slash '/'
Modified:
cfe/trunk/test/Index/record-parsing-invocation.c
Author: arphaman
Date: Mon Dec 4 13:56:36 2017
New Revision: 319702
URL: http://llvm.org/viewvc/llvm-project?rev=319702=rev
Log:
[libclang] Record parsing invocation to a temporary file when requested
by client
This patch extends libclang by allowing it to record parsing operations to a
101 - 200 of 625 matches
Mail list logo