- 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
-
Sean Callanan authored
accessor method for its value. llvm-svn: 94241
-
Dale Johannesen authored
this makes the code work transparently the same whether they're there or not. llvm-svn: 94240
-
Chris Lattner authored
pretty printing encoding comments and eliminates redundancy on the client side. We now get pretty dwarf like this again: .byte 255 ## @LPStart Encoding = omit .byte 0 ## @TType Encoding = absptr .byte 0x28 ## @TType base offset .byte 3 ## Call site Encoding = udata4 .byte 0x1a ## Call site table size ... llvm-svn: 94239
-
Mike Stump authored
file, and add FIXMEs to the remaining broken tests. llvm-svn: 94238
-
Sean Callanan authored
exactly like an MCAsmLexer. (The difference is that the TargetAsmLexer knows how to handle target-specific stuff like registers, whereas the MCAsmLexer is fully generic.) llvm-svn: 94237
-
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
-
Chris Lattner authored
and much more accurately describes what it is all about. llvm-svn: 94233
-
Chris Lattner authored
llvm-svn: 94232
-
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
-
Chris Lattner authored
llvm-svn: 94230
-
Mike Stump authored
llvm-svn: 94229
-
Chris Lattner authored
llvm-svn: 94228
-
Chris Lattner authored
llvm-svn: 94227
-
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
-
Chris Lattner authored
output. An example: .align 4, 0x90 LBB1_5: ## %while.cond3 ## Parent Loop BB1_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB1_8 Depth 3 ## Child Loop BB1_6 Depth 3 llvm-svn: 94225
-
Fariborz Jahanian authored
Fixes radar 7562363. llvm-svn: 94224
-
Nick Kledzik authored
llvm-svn: 94223
-
Chris Lattner authored
llvm-svn: 94222
-
Chris Lattner authored
For loop headers, print Inner loop along with the other stuff so it doesn't take an extra line. We now get stuff like this: LBB1_4: ## %land.end ## in Loop: Header=BB1_1 Depth=1 notb %al testb $1, %al jne LBB1_8 and: LBB1_6: ## %while.cond7 ## Inner Loop Header: Depth=3 ## Inside Loop BB1_5 Depth 2 ## Inside Loop BB1_1 Depth 1 which still isn't great for loop headers, but is much less verbose. llvm-svn: 94221
-
Daniel Dunbar authored
this during an Apple style build. llvm-svn: 94216
-
Chris Lattner authored
comment emission stuff. I'm going to rewrite this though because the current output doesn't make sense. llvm-svn: 94215
-
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
-
Daniel Dunbar authored
llvm-svn: 94205
-
Benjamin Kramer authored
llvm-svn: 94203
-
Chris Lattner authored
AddComment and GetCommentOS. Add a blank line between globals (even in non-verbose mode) to make the assembly more readable. llvm-svn: 94202
-
Chris Lattner authored
llvm-svn: 94201
-
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
-
Chris Lattner authored
that doesn't want to use twines. llvm-svn: 94199
-
Bob Wilson authored
test on ARM. llvm-svn: 94198
-
Chris Lattner authored
llvm-svn: 94197
-
Victor Hernandez authored
llvm-svn: 94195
-
Victor Hernandez authored
llvm-svn: 94194
-
Mike Stump authored
llvm-svn: 94193
-