- Mar 30, 2012
-
-
Argyrios Kyrtzidis authored
reference is going to message the setter, the getter, or both. Having this info on the ObjCPropertyRefExpr node makes it easier for AST clients (like libclang) to reason about the meaning of the property reference. [AST/Sema] -Use 2 bits (with a PointerIntPair) in ObjCPropertyRefExpr to record the above info -Have ObjCPropertyOpBuilder set the info appropriately. [libclang] -When there is an implicit property reference (property syntax using methods) have clang_getCursorReferenced return a cursor for the method. If the property reference is going to result in messaging both the getter and the setter choose to return a cursor for the setter because it is less obvious from source inspection that the setter is getting called. The general idea has the seal of approval by John. rdar://11151621 llvm-svn: 153709
-
Argyrios Kyrtzidis authored
its location the location of the property. Part of rdar://11113120 llvm-svn: 153708
-
Argyrios Kyrtzidis authored
-the location of the cursor -its extent -its spelling Part of radar://11113120 llvm-svn: 153707
-
Eli Friedman authored
Extend -Wc++11-narrowing to cover converted constant expressions as well as braced-initializers. <rdar://problem/11121178>. llvm-svn: 153703
-
Anna Zaks authored
Includes a test from a reported false positive fixed in some earlier commit. llvm-svn: 153702
-
Bill Wendling authored
llvm-svn: 153698
-
- Mar 29, 2012
-
-
Jim Grosbach authored
llvm-svn: 153678
-
Fariborz Jahanian authored
llvm-svn: 153674
-
Richard Smith authored
llvm-svn: 153673
-
David Chisnall authored
llvm-svn: 153670
-
Fariborz Jahanian authored
llvm-svn: 153669
-
David Chisnall authored
LLVM intrinsics for. I have an implementation of these functions, which wants to go in a libgcc_s equivalent in compiler-rt. It's currently here: http://people.freebsd.org/~theraven/atomic.c It will be committed to compiler-rt as soon as I work out where would be a sensible place to put it... llvm-svn: 153666
-
David Chisnall authored
llvm-svn: 153665
-
Fariborz Jahanian authored
visibility directives for a variety of exported meta-data symbols. // rdar://11144048 llvm-svn: 153663
-
Chad Rosier authored
llvm-svn: 153660
-
Eric Christopher authored
in the property debug info. Any more isn't necessary after all. rdar://11144023 llvm-svn: 153659
-
Eric Christopher authored
llvm-svn: 153658
-
Benjamin Kramer authored
llvm-svn: 153648
-
Eric Christopher authored
http://llvm.org/docs/SourceLevelDebugging.html#objcproperty including type and DECL. Expand the getter and setter names into the fully qualified names. rdar://11144023 llvm-svn: 153640
-
Rafael Espindola authored
with libunwind installed. Patch by Jeffrey Yasskin! llvm-svn: 153633
-
Richard Smith authored
name as a direct initializer. llvm-svn: 153628
-
Richard Smith authored
diagnostic and a fix-it to explain to the user where the ellipsis is supposed to go. llvm-svn: 153622
-
Argyrios Kyrtzidis authored
in the interface, got its attribute rewritten twice, resulting in 'weakweak' or 'strongstrong'. rdar://11047179 llvm-svn: 153621
-
Jan Wen Voung authored
Add a test for this too. llvm-svn: 153616
-
John McCall authored
a complete object, the memcpy needs to use the data size of the structure instead of its sizeof() value. Fixes PR12204. llvm-svn: 153613
-
- Mar 28, 2012
-
-
Fariborz Jahanian authored
llvm-svn: 153602
-
Argyrios Kyrtzidis authored
llvm-svn: 153594
-
Anna Zaks authored
llvm-svn: 153591
-
David Chisnall authored
Patch by Dmitri Shubin! llvm-svn: 153585
-
Fariborz Jahanian authored
provide 'fixit' hint when dictionary index is not of proper type. // rdar://11062080 llvm-svn: 153584
-
Anna Zaks authored
retry without inlining. (+ other minor cleanups) llvm-svn: 153581
-
Anna Zaks authored
the root function. (This is a bit cleaner then using the StackFrame.) llvm-svn: 153580
-
NAKAMURA Takumi authored
llvm-svn: 153578
-
Douglas Gregor authored
concerning qualified declarator-ids. We now diagnose extraneous qualification at namespace scope (which we had previously missed) and diagnose these qualification errors for all kinds of declarations; it was rather uneven before. Fixes <rdar://problem/11135644>. llvm-svn: 153577
-
Douglas Gregor authored
search for the specialization (in a folding set) and, if not found form a *Decl that is then inserted into that folding set. In rare cases, the folding set may be reallocated between the search and the insertion, causing a crash. No test case, because triggering rehashing consistently in a small test case is not feasible. Fixes <rdar://problem/11115071>. llvm-svn: 153575
-
Ted Kremenek authored
llvm-svn: 153568
-
Argyrios Kyrtzidis authored
llvm-svn: 153566
-
Argyrios Kyrtzidis authored
llvm-svn: 153565
-
Argyrios Kyrtzidis authored
that libclang creates. -Introduce CXGlobalOptFlags enum for the new options that can be set on the CXIndex object. -CXGlobalOpt_ThreadBackgroundPriorityForIndexing affects: clang_indexSourceFile clang_indexTranslationUnit clang_parseTranslationUnit clang_saveTranslationUnit -CXGlobalOpt_ThreadBackgroundPriorityForEditing affects: clang_reparseTranslationUnit clang_codeCompleteAt clang_annotateTokens rdar://9075282 llvm-svn: 153562
-
Argyrios Kyrtzidis authored
it at global namespace. llvm-svn: 153561
-