- Jan 23, 2010
-
-
David Chisnall authored
Created __builtin___NSStringMakeConstantString() builtin, which generates constant Objective-C strings. llvm-svn: 94274
-
Ted Kremenek authored
llvm-svn: 94273
-
John McCall authored
llvm-svn: 94268
-
Douglas Gregor authored
translation units that include unsaved files. llvm-svn: 94258
-
Fariborz Jahanian authored
to mimic gcc's behavior. Fixes radar 7400691. llvm-svn: 94246
-
- Jan 22, 2010
-
-
Ted Kremenek authored
Add 'clang_getClangVersion()' function to CIndex. This exposes the full Clang version string through the CIndex API. llvm-svn: 94242
-
Ted Kremenek authored
Move version string generation (e.g., "clang 1.1 ...") to libBasic/Version.cpp, getClangFullVendorVersion(). llvm-svn: 94235
-
Ted Kremenek authored
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
-
Fariborz Jahanian authored
Fixes radar 7562363. llvm-svn: 94224
-
Ted Kremenek authored
llvm-svn: 94214
-
Ted Kremenek authored
llvm-svn: 94213
-
Mike Stump authored
not just among the direct bases. Before we where missing nearly empties that were bases of virtual base classes. llvm-svn: 94208
-
Douglas Gregor authored
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
-
Mike Stump authored
llvm-svn: 94193
-
Fariborz Jahanian authored
lookup. Fixes radar 7562438. llvm-svn: 94191
-
Anders Carlsson authored
No need to canonicalize the type and use dyn_cast. Also, correctly diagnose trying to override a function returning an lvalue reference with a function overriding an rvalue reference. llvm-svn: 94183
-
Douglas Gregor authored
llvm-svn: 94177
-
Benjamin Kramer authored
llvm-svn: 94175
-
Chandler Carruth authored
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
-
Mike Stump authored
llvm-svn: 94163
-
Zhongxing Xu authored
handling (for C++). No functionality change for now. llvm-svn: 94153
-
Daniel Dunbar authored
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
-
Daniel Dunbar authored
not always added. llvm-svn: 94149
-
Mike Stump authored
llvm-svn: 94145
-
Daniel Dunbar authored
name being used in an driver invocation. llvm-svn: 94139
-
Daniel Dunbar authored
diverge from gcc anyway. llvm-svn: 94138
-
Daniel Dunbar authored
llvm-svn: 94136
-
John McCall authored
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
-
rdar://7520940Chris Lattner authored
is #included with "foo.h" style syntax instead of framework syntax. It produced too much noise. llvm-svn: 94120
-
Mike Stump authored
llvm-svn: 94118
-
Mike Stump authored
dead array references. llvm-svn: 94115
-
- Jan 21, 2010
-
-
Mike Stump authored
llvm-svn: 94106
-
Mike Stump authored
llvm-svn: 94094
-
Mike Stump authored
llvm-svn: 94093
-
Ted Kremenek authored
ObjCObjectPointerType using the allocator associated with ASTContext. Not only does this fix a memory leak, but it also makes these arrays BumpPtrAllocated (in the typical case). llvm-svn: 94090
-
Fariborz Jahanian authored
Fixes radar 7562952. llvm-svn: 94087
-
Mike Stump authored
assignments. llvm-svn: 94086
-
Mike Stump authored
unary operators. llvm-svn: 94084
-
Daniel Dunbar authored
assuming SVN. This should be fixed to not necessarily be an integer. llvm-svn: 94081
-
Anders Carlsson authored
llvm-svn: 94079
-