| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When -working-directory is passed in command line, file paths are resolved relative to the specified directory.
This helps both when using libclang (where we can't require the user to actually change the working directory)
and to help reproduce test cases when the reproduction work comes along.
--FileSystemOptions is introduced which controls how file system operations are performed (currently it just contains
the working directory value if set).
--FileSystemOptions are passed around to various interfaces that perform file operations.
--Opening & reading the content of files should be done only through FileManager. This is useful in general since
file operations will be abstracted in the future for the reproduction mechanism.
FileSystemOptions is independent of FileManager so that we can have multiple translation units sharing the same
FileManager but with different FileSystemOptions.
Addresses rdar://8583824.
llvm-svn: 118203
|
| |
|
|
|
|
| |
constraint it's invalid. Fixes PR3905.
llvm-svn: 118146
|
| |
|
|
|
|
| |
constraint. Fixes PR3904.
llvm-svn: 118145
|
| |
|
|
|
|
| |
getLineNumber/getColumnNumber fail
llvm-svn: 117990
|
| |
|
|
|
|
| |
PR8423
llvm-svn: 117775
|
| |
|
|
| |
llvm-svn: 117743
|
| |
|
|
|
|
|
|
|
| |
in asm's. PR 8501, 8602988.
I don't like including Type.h where it is; the idea was
to get references to X86_MMXTy out of the common code.
Maybe there's a better way?
llvm-svn: 117736
|
| |
|
|
| |
llvm-svn: 117517
|
| |
|
|
|
|
| |
No aliasing is needed, these work as given in the BE.
llvm-svn: 117508
|
| |
|
|
|
|
| |
doesn't need its return value.
llvm-svn: 117393
|
| |
|
|
| |
llvm-svn: 117204
|
| |
|
|
| |
llvm-svn: 117149
|
| |
|
|
|
|
| |
See PR 8473.
llvm-svn: 117110
|
| |
|
|
| |
llvm-svn: 117026
|
| |
|
|
| |
llvm-svn: 117005
|
| |
|
|
| |
llvm-svn: 117003
|
| |
|
|
|
|
|
|
|
|
| |
This adds an option to set the _MSC_VER macro without
recompiling. This is very useful when testing compatibility
with the Windows SDK and c++stdlib headers.
-fmsc-version=<version> (defaults to VS2003 (1300))
llvm-svn: 116999
|
| |
|
|
| |
llvm-svn: 116990
|
| |
|
|
|
|
| |
Didn't realize this was on my branch ;/.
llvm-svn: 116989
|
| |
|
|
| |
llvm-svn: 116988
|
| |
|
|
| |
llvm-svn: 116700
|
| |
|
|
| |
llvm-svn: 116699
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
identifiers to determine good typo-correction candidates. Once we've
identified those candidates, we perform name lookup on each of them
and the consider the results.
This optimization makes typo correction > 2x faster on a benchmark
example using a single typo (NSstring) in a tiny file that includes
Cocoa.h from a precompiled header, since we are deserializing far less
information now during typo correction.
There is a semantic change here, which is interesting. The presence of
a similarly-named entity that is not visible can now affect typo
correction. This is both good (you won't get weird corrections if the
thing you wanted isn't in scope) and bad (you won't get good
corrections if there is a similarly-named-but-completely-unrelated
thing). Time will tell whether it was a good choice or not.
llvm-svn: 116528
|
| |
|
|
| |
llvm-svn: 116468
|
| |
|
|
| |
llvm-svn: 116422
|
| |
|
|
|
|
|
| |
SFINAE context, where we weren't getting the right diagnostic argument
count. I blame DiagnosticBuilder's weirdness. Fixes PR8372.
llvm-svn: 116411
|
| |
|
|
|
|
| |
off the extra parts of the $URL$ SVN keyword.
llvm-svn: 116269
|
| |
|
|
| |
llvm-svn: 116268
|
| |
|
|
|
|
|
|
| |
emitting diagnostics in a binary form to be consumed by libclang,
since libclang no longer does any of its work out-of-process, making
this code dead. Besides, this stuff never worked at 100% anyway.
llvm-svn: 116250
|
| |
|
|
|
|
|
| |
it comes back, it will be largely a rewrite, so keeping the old codebase
in tree isn't helping anyone.
llvm-svn: 116191
|
| |
|
|
|
|
|
| |
the version information, to help prevent user confusion about vendor version
numbers vs. LLVM version numbers.
llvm-svn: 115915
|
| |
|
|
|
|
| |
Dean Sturtevant, reviewed by chandlerc and Sebastian Redl).
llvm-svn: 115638
|
| |
|
|
|
|
|
|
|
|
| |
- I don't like returning StringRef's ever, unless it is actually important for
performance, which it isn't here.
- Also, stop validating getClangRevision to be an integer, I don't see a good
reason to do this.
llvm-svn: 115071
|
| |
|
|
|
|
| |
patch by Jonathan Mulder!
llvm-svn: 115049
|
| |
|
|
| |
llvm-svn: 114490
|
| |
|
|
|
|
| |
for Clang side of support.
llvm-svn: 114253
|
| |
|
|
|
|
| |
sign extension code is emitted: PtrDiffType needs to be a signed long long. Add a corresponding test case.
llvm-svn: 113910
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
instead"
This reverts commit r113631
Conflicts:
CMakeLists.txt
lib/CodeGen/CMakeLists.txt
llvm-svn: 113817
|
| |
|
|
|
|
| |
of whatever we were using before...
llvm-svn: 113631
|
| |
|
|
|
|
| |
Allow '<' and '>' as constraints for input or output.
llvm-svn: 113246
|
| |
|
|
|
|
|
| |
"__attribute((pascal))" or "__pascal" (and "_pascal" under
-fborland-extensions). Support still needs to be added to llvm.
llvm-svn: 112939
|
| |
|
|
| |
llvm-svn: 112603
|
| |
|
|
| |
llvm-svn: 112219
|
| |
|
|
|
|
|
| |
some bugs in setting allowsRegister on the ones there.
8348447.
llvm-svn: 111980
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#pragma once wasn't working on win32 if the header file was included
using a different case.
I tracked down the problem to the fact that clang::FileManager was
caching files using case sensitive string (UniqueFiles) on Windows.
I changed FileManager to cache filename in lower case only.
Doesn't affect UNIX because UNIX uses Inode to uniquely identify files.
unix doesn't use this codepath.
Analysis and patch by Francois Pichet!
llvm-svn: 111866
|
| |
|
|
| |
llvm-svn: 111768
|
| |
|
|
|
|
|
| |
it deserves its own enumerator. Obviously the implementations should
closely follow the Itanium ABI except in cases of divergence.
llvm-svn: 111749
|
| |
|
|
| |
llvm-svn: 111472
|
| |
|
|
|
|
| |
location. Patch by Eelis van der Weegen!
llvm-svn: 111362
|
| |
|
|
|
|
| |
only warnings did this check.
llvm-svn: 111355
|