| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
copy constructors) come first. Also, fix a bug where EK_New was left out of the err_init_conversion_failed diagnostic (It is now reported as 'new value'). Please review Doug :)
llvm-svn: 94289
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
quality of their
conversions. To make this work, fill out all conversions for all candidates
(but only when diagnosing overload failure). Split out a few cases from
ovl_fail_bad_conversion which didn't actually involve a failed argument
conversion.
I'm pretty sure this is not a well-founded ordering, but I'm not sure it matters.
llvm-svn: 94283
|
|
|
|
|
|
| |
arrays and vectors are pretty different beasts in C++. Doug, please review/comment.
llvm-svn: 94279
|
|
|
|
|
|
| |
constant Objective-C strings.
llvm-svn: 94274
|
|
|
|
| |
llvm-svn: 94273
|
|
|
|
| |
llvm-svn: 94268
|
|
|
|
|
|
| |
explicit casts, sizeof, alignof, and compound literals.
llvm-svn: 94265
|
|
|
|
|
|
| |
{thumb,no-thumb}).
llvm-svn: 94264
|
|
|
|
| |
llvm-svn: 94263
|
|
|
|
|
|
| |
translation units that include unsaved files.
llvm-svn: 94258
|
|
|
|
|
|
| |
to mimic gcc's behavior. Fixes radar 7400691.
llvm-svn: 94246
|
|
|
|
|
|
| |
Clang version string through the CIndex API.
llvm-svn: 94242
|
|
|
|
|
|
| |
file, and add FIXMEs to the remaining broken tests.
llvm-svn: 94238
|
|
|
|
| |
llvm-svn: 94236
|
|
|
|
|
|
| |
libBasic/Version.cpp, getClangFullVendorVersion().
llvm-svn: 94235
|
|
|
|
|
|
| |
CIndex API. No functionality change.
llvm-svn: 94234
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
have it return a StringRef instead of an integer (to be more VCS
agnostic).
(2) Add getClangFullRepositoryVersion(), which contains an
amalgamation of the repository name and the revision.
(3) Change PCH to only emit the string returned by
getClangFullRepositoryVersion() instead of also emitting the value
of getClangSubversionRevision() (which has been removed). This is
functionally equivalent.
More cleanup to version string generation pending...
llvm-svn: 94231
|
|
|
|
| |
llvm-svn: 94229
|
|
|
|
|
|
|
|
| |
- Added more routines to manipulate/compare source locations and ranges
- Switched clang_getCursor() over to take a CXSourceLocation rather
than file/line/column.
llvm-svn: 94226
|
|
|
|
|
|
| |
Fixes radar 7562363.
llvm-svn: 94224
|
|
|
|
| |
llvm-svn: 94214
|
|
|
|
|
|
| |
return a StringRef.
llvm-svn: 94213
|
|
|
|
| |
llvm-svn: 94211
|
|
|
|
|
|
| |
weren't actually using any of its facilities.
llvm-svn: 94210
|
|
|
|
|
|
|
| |
not just among the direct bases. Before we where missing nearly
empties that were bases of virtual base classes.
llvm-svn: 94208
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
region of interest (if provided). Implement clang_getCursor() in terms
of this traversal rather than using the Index library; the unified
cursor visitor is more complete, and will be The Way Forward.
Minor other tweaks needed to make this work:
- Extend Preprocessor::getLocForEndOfToken() to accept an offset
from the end, making it easy to move to the last character in the
token (rather than just past the end of the token).
- In Lexer::MeasureTokenLength(), the length of whitespace is zero.
llvm-svn: 94200
|
|
|
|
| |
llvm-svn: 94193
|
|
|
|
|
|
| |
lookup. Fixes radar 7562438.
llvm-svn: 94191
|
|
|
|
|
|
| |
trying to override a function returning an lvalue reference with a function overriding an rvalue reference.
llvm-svn: 94183
|
|
|
|
| |
llvm-svn: 94177
|
|
|
|
| |
llvm-svn: 94175
|
|
|
|
|
|
|
|
|
| |
when checking for covariance. Added some fun test cases, fixes PR6110.
This felt obvious enough to just commit. ;] Let me know if anything needs
tweaking.
llvm-svn: 94173
|
|
|
|
| |
llvm-svn: 94163
|
|
|
|
|
|
| |
handling (for C++). No functionality change for now.
llvm-svn: 94153
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compiler-rt. This tool chain now works on x86 and ARM, but isn't the x86 default
yet.
This drastically cleans up the linker invocation, old invocation:
--
"/Developer/usr/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-weak_reference_mismatches" "non-weak" "-o" "a.out" "-lcrt1.10.6.o" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64" "-L/usr/lib/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.." "t.o" "-lSystem" "-lgcc"
--
New invocation:
--
# For 10.6:
"/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-o" "a.out" "-lcrt1.10.6.o" "t.o" "-lSystem"
# For 10.4:
"/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.4" "-o" "a.out" "-lcrt1.o" "t.o" "-lSystem" "-lgcc_s.10.4" "/Volumes/Data/ddunbar/llvm.obj.64/Debug/lib/clang/1.1/lib/darwin/libclang_rt.10.4.a"
--
llvm-svn: 94150
|
|
|
|
|
|
| |
not always added.
llvm-svn: 94149
|
|
|
|
| |
llvm-svn: 94145
|
|
|
|
|
|
| |
name being used in an driver invocation.
llvm-svn: 94139
|
|
|
|
|
|
| |
diverge from gcc anyway.
llvm-svn: 94138
|
|
|
|
|
|
| |
forbidden.
llvm-svn: 94137
|
|
|
|
| |
llvm-svn: 94136
|
|
|
|
| |
llvm-svn: 94126
|
|
|
|
|
|
|
|
| |
declarations that have enough source information to make such a walk
useful. This includes walking into variable initializers and enum
constants, the types behind typedefs, etc.
llvm-svn: 94124
|
|
|
|
|
|
|
|
|
| |
translation unit. This is temporary for function and block parameters;
template parameters can just stay this way, since Templates aren't
DeclContexts. This gives us the nice property that everything created
in a record DC should have access in C++.
llvm-svn: 94122
|
|
|
|
|
|
|
| |
is #included with "foo.h" style syntax instead of framework syntax.
It produced too much noise.
llvm-svn: 94120
|
|
|
|
| |
llvm-svn: 94118
|
|
|
|
|
|
| |
a few important subkinds. Now we're cookin' with gas!
llvm-svn: 94116
|
|
|
|
|
|
| |
dead array references.
llvm-svn: 94115
|
|
|
|
|
|
| |
of the 'payload' in this header.
llvm-svn: 94109
|
|
|
|
|
|
| |
in C++.
llvm-svn: 94106
|