| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 190601
|
| |
|
|
|
|
| |
rdar://14971432
llvm-svn: 190568
|
| |
|
|
|
|
|
|
|
| |
The code in CGExpr was added back in 2012 (r165536) but not exercised in tests
until recently.
Detected on the MemorySanitizer bootstrap bot.
llvm-svn: 190521
|
| |
|
|
|
|
|
|
|
|
|
| |
Dotfiles are impractical on Windows. This makes clang-format search
for the style configuration file as '_clang-format' in addition to
the usual '.clang-format'. This is similar to how VIM searches for
'_vimrc' on Windows.
Differential Revision: http://llvm-reviews.chandlerc.com/D1629
llvm-svn: 190413
|
| |
|
|
|
|
| |
<rdar://problem/13623355>
llvm-svn: 190291
|
| |
|
|
|
|
| |
threadprivate_messages.cpp)
llvm-svn: 190183
|
| |
|
|
|
|
|
| |
as this is going to be a common mistake (installing LLVM defaults to not putting
the tools onto the PATH).
llvm-svn: 190036
|
| |
|
|
|
|
| |
a selection / the line at the cursor.
llvm-svn: 189955
|
| |
|
|
| |
llvm-svn: 189909
|
| |
|
|
| |
llvm-svn: 189901
|
| |
|
|
| |
llvm-svn: 189844
|
| |
|
|
|
|
|
|
| |
This reverts commit r189795.
threadprivate_messages.cpp is faling on windows.
llvm-svn: 189811
|
| |
|
|
| |
llvm-svn: 189795
|
| |
|
|
|
|
| |
messages.
llvm-svn: 189765
|
| |
|
|
| |
llvm-svn: 189762
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fallback syntax used when we fail to find a '.clang-format' file. Adjust
variable names appropriately.
Update the editor integration pieces that specify a '-style' option to
specify it as '-style=file'. I left the functionality in place because
even if the preferred method is to use '.clang-format' files, this way
if someone needs to clobber the style in their editor we show how to do
so in these examples.
Also check in a '.clang-format' file for Clang to ensure that separate
checkouts and builds of Clang from LLVM can still get the nice
formatting. =] This unfortunately required nuking the test for the
absence of a '.clang-format' file as now the directory happening to be
under your clang source tree will cause there to always be a file. ;]
llvm-svn: 189741
|
| |
|
|
|
|
| |
Based on a patch by Benno Rice!
llvm-svn: 189644
|
| |
|
|
|
|
| |
array. Then only store offsets into it in the OptionTable. Saves about 4K from the clang binary and removes 400 relocation entries from DiagnosticIDs.o.
llvm-svn: 189568
|
| |
|
|
|
|
| |
~4K from clang binary.
llvm-svn: 189445
|
| |
|
|
|
|
|
|
| |
The individual group and subgroups tables are now two large tables. The option table stores an index into these two tables instead of pointers. This reduces the size of the options tabe since it doesn't need to store pointers. It also reduces the number of relocations needed.
My build shows this reducing DiagnosticsIDs.o and the clang binary by ~20.5K. It also removes ~400 relocation entries from DiagnosticIDs.o.
llvm-svn: 189438
|
| |
|
|
| |
llvm-svn: 189435
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Makes functions with implicit calling convention compatible with
function types with a matching explicit calling convention. This fixes
things like calls to qsort(), which has an explicit __cdecl attribute on
the comparator in Windows headers.
Clang will now infer the calling convention from the declarator. There
are two cases when the CC must be adjusted during redeclaration:
1. When defining a non-inline static method.
2. When redeclaring a function with an implicit or mismatched
convention.
Fixes PR13457, and allows clang to compile CommandLine.cpp for the
Microsoft C++ ABI.
Excellent test cases provided by Alexander Zinenko!
Reviewers: rsmith
Differential Revision: http://llvm-reviews.chandlerc.com/D1231
llvm-svn: 189412
|
| |
|
|
|
|
|
| |
This time, use a variable that's defined consistently in standalone and
non-standalone builds.
llvm-svn: 189406
|
| |
|
|
|
|
| |
This reverts commit r189371, it broke the in-source cmake build.
llvm-svn: 189390
|
| |
|
|
|
|
|
|
|
| |
Variables set in a makefile are not overridden by environment variables.
Make sure we actually override CC and CXX when using scan-build.
Patch by Steve McCoy!
llvm-svn: 189372
|
| |
|
|
|
|
| |
Symlinks to clang should go in Clang's build directory, not LLVM's.
llvm-svn: 189371
|
| |
|
|
|
|
| |
No functionality change intended.
llvm-svn: 189112
|
| |
|
|
|
|
| |
I was bound to screw this up somehow.
llvm-svn: 189029
|
| |
|
|
|
|
|
|
|
|
| |
Thanks for pointing this out, Stephen. I think this is right now -- I
attempted to try all four valid combinations with both the autoconf and
CMake builds.
See also LLVM changes to the configure script.
llvm-svn: 189027
|
| |
|
|
|
|
|
|
|
| |
Basically, isInMainFile considers line markers, and isWrittenInMainFile
doesn't. Distinguishing between the two is useful when dealing with
files which are preprocessed files or rewritten with -frewrite-includes
(so we don't, for example, print useless warnings).
llvm-svn: 188968
|
| |
|
|
|
|
| |
Follow up to r188850.
llvm-svn: 188854
|
| |
|
|
|
|
| |
This should fix the bogus ambiguous reference errors reported by gcc 4.2.1 that the FreeBSD bot is using.
llvm-svn: 188850
|
| |
|
|
| |
llvm-svn: 188835
|
| |
|
|
| |
llvm-svn: 188833
|
| |
|
|
| |
llvm-svn: 188763
|
| |
|
|
| |
llvm-svn: 188759
|
| |
|
|
| |
llvm-svn: 188678
|
| |
|
|
| |
llvm-svn: 188625
|
| |
|
|
|
|
| |
clangIndex.
llvm-svn: 188621
|
| |
|
|
|
|
| |
and msys perl ports.
llvm-svn: 188607
|
| |
|
|
|
|
|
| |
Per feedback from Chandler, it's better to have libraries with more specific functionality.
LibIndex will contain the indexing functionality of libclang, which includes USR generation.
llvm-svn: 188601
|
| |
|
|
|
|
| |
DenseMapInfo specialization.
llvm-svn: 188580
|
| |
|
|
|
|
|
|
|
|
| |
Libclang has a lot of functionality that is inaccessible.
The purpose of clangIDE is to move most of the functionality of libclang to it so we
can expose it and have libclang be more of a thin C wrapper over clangIDE.
Start by moving the USR generation functionality into clangIDE.
llvm-svn: 188569
|
| |
|
|
| |
llvm-svn: 188134
|
| |
|
|
|
|
|
|
| |
Also bump the minor version number and update libclang.exports.
Reviewed by: Dmitri Gribenko, Doug Gregor
llvm-svn: 187994
|
| |
|
|
|
|
| |
There hasn't been a separate cc1 option table since r155916.
llvm-svn: 187993
|
| |
|
|
| |
llvm-svn: 187989
|
| |
|
|
|
|
| |
fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention...
llvm-svn: 187762
|
| |
|
|
|
|
| |
reported by MSan
llvm-svn: 187647
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This unifies the unix and windows versions of FileManager::UniqueDirContainer
and FileManager::UniqueFileContainer by using UniqueID.
We cannot just replace "struct stat" with llvm::sys::fs::file_status, since we
want to be able to construct fake ones, and file_status has different members
on unix and windows.
What the patch does is:
* Record only the information that clang is actually using.
* Use llvm::sys::fs::status instead of stat and fstat.
* Use llvm::sys::fs::UniqueID
* Delete the old windows versions of UniqueDirContainer and
UniqueFileContainer since the "unix" one now works on windows too.
llvm-svn: 187619
|