- 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
explicit casts, sizeof, alignof, and compound literals. llvm-svn: 94265
-
Daniel Dunbar authored
{thumb,no-thumb}). llvm-svn: 94264
-
Daniel Dunbar authored
llvm-svn: 94263
-
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
-
Mike Stump authored
file, and add FIXMEs to the remaining broken tests. llvm-svn: 94238
-
Fariborz Jahanian authored
llvm-svn: 94236
-
Ted Kremenek authored
Move version string generation (e.g., "clang 1.1 ...") to libBasic/Version.cpp, getClangFullVendorVersion(). llvm-svn: 94235
-
Douglas Gregor authored
CIndex API. No functionality change. llvm-svn: 94234
-
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
-
Mike Stump authored
llvm-svn: 94229
-
Douglas Gregor authored
- 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
-
Fariborz Jahanian authored
Fixes radar 7562363. llvm-svn: 94224
-
Ted Kremenek authored
llvm-svn: 94214
-
Ted Kremenek authored
llvm-svn: 94213
-
Douglas Gregor authored
llvm-svn: 94211
-
Douglas Gregor authored
weren't actually using any of its facilities. llvm-svn: 94210
-
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: 94137
-
Daniel Dunbar authored
llvm-svn: 94136
-
Douglas Gregor authored
llvm-svn: 94126
-
Douglas Gregor authored
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
-