- Jul 06, 2012
-
-
Fariborz Jahanian authored
for doing delayed parsing of c++ method defined in objc class implementations. llvm-svn: 159792
-
Howard Hinnant authored
llvm-svn: 159791
-
Dmitri Gribenko authored
very simple semantic analysis that just builds the AST; minor changes for lexer to pick up source locations I didn't think about before. Comments AST is modelled along the ideas of HTML AST: block and inline content. * Block content is a paragraph or a command that has a paragraph as an argument or verbatim command. * Inline content is placed within some block. Inline content includes plain text, inline commands and HTML as tag soup. llvm-svn: 159790
-
Dmitri Gribenko authored
llvm-svn: 159789
-
Argyrios Kyrtzidis authored
that the migrator handles) but return their instances as 'id', resulting in the compiler resolving 'objectForKey:' as the method from NSDictionary. When checking if we can convert to subscripting syntax, check whether the receiver is a result of a class method from a hardcoded list of such classes. In such a case return the specific class as the interface of the receiver. llvm-svn: 159788
-
Jack Carter authored
Print the second half of a double word operand. The include list was cleaned up a bit as well. Also the test case was modified to test for both big and little patterns. llvm-svn: 159787
-
Owen Anderson authored
Fix an overzealous assertion. It is legitimate for a target to have multiple fixups on a single instruction that target the same byte, so long as their bit-offsets are coordinates appropriately. llvm-svn: 159785
-
Fariborz Jahanian authored
under -Wsuper-class-method-mismatch for method mismatches in current and suprt class. // rdar://11793793 llvm-svn: 159784
-
- Jul 05, 2012
-
-
Argyrios Kyrtzidis authored
(apart from NSDictionary/NSArray) that implement objectForKey:/objectAtIndex/etc. and the subscripting methods as well. Part of rdar://11734969 llvm-svn: 159783
-
rdar://problem/11806995Han Ming Ong authored
Need to include QA MAS certificate leaf for root XPC service llvm-svn: 159782
-
DeLesley Hutchins authored
duplicates attributes on the declaration. Also eliminates a false negative in ReleasableMutexLock. Fixing this bug required some refactoring. llvm-svn: 159780
-
Anna Zaks authored
[analyzer] Add a statistic for maximum CFG size and a script to summarize analyzer stats from scan-build output. llvm-svn: 159776
-
Greg Clayton authored
Added a new example that extracts all global variables from an object file and prints any available info. llvm-svn: 159775
-
Simon Atanasyan authored
if -mdsp or -mdspr2 options are provided. llvm-svn: 159774
-
Fariborz Jahanian authored
of out-of-line c++ method definition which happens to be inside an objc class implementation until I can figure out how to do it. This is to fix a broken project. llvm-svn: 159772
-
Akira Hatanaka authored
llvm-svn: 159771
-
Akira Hatanaka authored
mips32 rev1 (the directives are emitted when target is mips32r2 too). llvm-svn: 159770
-
Simon Atanasyan authored
llvm-svn: 159769
-
Akira Hatanaka authored
AsmParser::ParseStatement. Patch by Vladimir Medic. llvm-svn: 159768
-
Simon Atanasyan authored
llvm-svn: 159767
-
Jordan Rose authored
This may turn out to be a controversial change, due to string literals being uniqued at link time, but Apple's docs only say "The compiler makes such object constants unique on a per-module basis..."[1] without actually saying what a "module" is. (It's not a clang module.) Furthermore, this uniqueness guarantee often can't be guaranteed once the string has been passed through framework code. If this does turn out very controversial, we could downgrade this to a DefaultError warning for strings, and leave it as a true Error for other kinds of literals. (<rdar://problem/11300873>) [1]: https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Strings/Articles/CreatingStrings.html llvm-svn: 159766
-
Manuel Klimek authored
used with classes that generate ASTConsumers; this allows decoupling the ASTConsumer generation from the Frontend library (like, for example, the MatchFinder in the upcoming ASTMatcher patch). llvm-svn: 159760
-
Nuno Lopes authored
llvm-svn: 159758
-
Dmitry Vyukov authored
llvm-svn: 159754
-
Simon Atanasyan authored
llvm-svn: 159753
-
Simon Atanasyan authored
llvm-svn: 159752
-
http://code.google.com/p/address-sanitizer/issues/detail?id=87Alexander Potapenko authored
Fix http://code.google.com/p/address-sanitizer/issues/detail?id=87 by making sure we replace the default CFAllocator only after __CFInitialize has been called. llvm-svn: 159749
-
Alexey Samsonov authored
llvm-svn: 159748
-
Simon Atanasyan authored
llvm-svn: 159747
-
Chandler Carruth authored
vector erase. No functionality changed. llvm-svn: 159746
-
Chandler Carruth authored
the key -- they are now stored in an IntervalMap. I noticed this while looking into PR12652. llvm-svn: 159745
-
Simon Atanasyan authored
llvm-svn: 159744
-
Chandler Carruth authored
hash_value overload for MachineOperands. This addresses a FIXME sufficient for me to remove it, and cleans up the code nicely too. The important changes to the hashing logic: - TargetFlags are now included in all of the hashes. These were complete missed. - Register operands have their subregisters and whether they are a def included in the hash. - We now actually hash all of the operand types. Previously, many operand types were simply *dropped on the floor*. For example: - Floating point immediates - Large integer immediates (>64-bit) - External globals! - Register masks - Metadata operands - It removes the offset from the block-address hash; I'm a bit suspicious of this, but isIdenticalTo doesn't consider the offset for black addresses. Any patterns involving these entities could have triggered extreme slowdowns in MachineCSE or PHIElimination. Let me know if there are PRs you think might be closed now... I'm looking myself, but I may miss them. llvm-svn: 159743
-
Duncan Sands authored
corresponding clang warning. llvm-svn: 159742
-
Chandler Carruth authored
broken. This patch fixes the superficial problems which lead to the intractably slow compile times reported in PR13225. The specific issue is that we were failing to include the *offset* of a global variable in the hash code. Oops. This would in turn cause all MIs which were only distinguishable due to operating on different offsets of a global variable to produce identical hash functions. In some of the test cases attached to the PR I saw hash table activity where there were O(1000) probes-per-lookup *on average*. A very few entries were responsible for most of these probes. There is still quite a bit more to do here. The ad-hoc layering of data in MachineOperands makes them *extremely* brittle to hash correctly. We're missing quite a few other cases, the only ones I've fixed here are the specific MO types which were allowed through the assert() in getOffset(). llvm-svn: 159741
-
Duncan Sands authored
booleans. Patch by James Benton. llvm-svn: 159739
-
Dmitry Vyukov authored
First, placement new from standard library conflicts with our own. Second, we are in trouble if user uses the same function (we either get instrumented code in runtime, or non-instrumented code in user program). llvm-svn: 159738
-
Kostya Serebryany authored
llvm-svn: 159737
-
Kostya Serebryany authored
[tsan] fix compile-time falilure found while building Chromium with tsan (tsan issue #3). A unit test will follow separately. llvm-svn: 159736
-
Hongbin Zheng authored
Patched by JunQi<dengjunqi06323011@hotmail.com>. llvm-svn: 159735
-