- Oct 14, 2010
-
-
Oscar Fuentes authored
llvm-svn: 116516
-
Howard Hinnant authored
llvm-svn: 116515
-
Francois Pichet authored
The failing was due to this: 1. preamble.c contains CR+LF new lines 2. write() is called with a buffer containing the original (CR+LF) to output the result on the console. 3. In text mode(the default), write() convert LF to CR+LF even if LF is preceded by CR, hence we have CR+CR+LF which filecheck interprets as 2 lines. llvm-svn: 116513
-
Jim Grosbach authored
pseudonym. llvm-svn: 116512
-
Douglas Gregor authored
solely based on the names it sees, rather than actual declarations it gets. In essence, we determine the set of names that are "close enough" to the typo'd name. Then, we perform name lookup for each of those names, filtering out those that aren't actually visible, and typo-correct from the remaining results. Overall, there isn't much of a change in the behavior of typo correction here. The only test-suite change comes from the fact that we make good on our promise to require that the user type 3 characters for each 1 character corrected. The real intent behind this change is to set the stage for an optimization to typo correction (so that we don't need to deserialize all declarations in a translation unit) and future work in finding missing qualification ("'vector' isn't in scope; did you mean 'std::vector'?). Plus, the code is cleaner this way. llvm-svn: 116511
-
Francois Pichet authored
Always use binary mode for output stream. This is important to prevent unwanted end of line conversion on Windows. Should not affect Unix where O_BINARY is not defined. This fix /clang/test/lexer/preamble.c XFAIL on WIN32. llvm-svn: 116509
-
Argyrios Kyrtzidis authored
Store in PCH the key function of C++ class to avoid deserializing the complete declaration context in order to compute it. Progress for rdar://7260160. llvm-svn: 116508
-
Argyrios Kyrtzidis authored
instead of deserializing the complete declaration context of the record. Iterating over the fields of a record is very common (e.g to determine the layout), unfortunately we needlessly deserialize every declaration that the declaration context of the record contains; this can be bad for large C++ classes that contain a lot of methods. Fix this by allow deserialization of just the fields when we want to iterate over them. Progress for rdar://7260160. llvm-svn: 116507
-
Argyrios Kyrtzidis authored
llvm-svn: 116506
-
Argyrios Kyrtzidis authored
and emits an error if a declaration with this name is deserialized from PCH. This is for testing, to make sure that we don't deserialize stuff needlessly. llvm-svn: 116505
-
Argyrios Kyrtzidis authored
Don't add the injected class name to the redeclarations chain; the chain should contain actual redeclarations, not implicits. As a bonus, now we don't deserialize it unless we need it. llvm-svn: 116504
-
Argyrios Kyrtzidis authored
Introduce command line option -dump-deserialized-decls which is used to print the PCH decls that got deserialized, for testing purposes. llvm-svn: 116503
-
Howard Hinnant authored
llvm-svn: 116501
-
Howard Hinnant authored
llvm-svn: 116500
-
Jim Grosbach authored
llvm-svn: 116498
-
Jakob Stoklund Olesen authored
Before we would also split around a loop if any peripheral block had multiple uses. This could cause repeated splitting when splitting a different live range would insert uses into the periphery. Now -spiller=inline passes the nightly test suite again. llvm-svn: 116494
-
David Chisnall authored
llvm-svn: 116493
-
Owen Anderson authored
Try again at implementing thread-safe lazy pass initialization, without depending on static local initialization being threadsafe AND ensuring that initialization is complete by the time the initializeFooPass method returns. llvm-svn: 116492
-
Owen Anderson authored
llvm-svn: 116491
-
Johnny Chen authored
llvm-svn: 116490
-
Owen Anderson authored
Apparently MSVC doesn't support thread-safe static local initialization. Roll our own solution instead. llvm-svn: 116489
-
Jim Grosbach authored
llvm-svn: 116488
-
Howard Hinnant authored
llvm-svn: 116487
-
Johnny Chen authored
llvm-svn: 116486
-
Johnny Chen authored
Inside the lldb module, there's no need (and as a matter of fact, incorrect) to specify the 'lldb' module name. Comment out the call to lldb.SBDebugger.Initialize() within the test driver itself, since it is already done when we import the lldb.py module. llvm-svn: 116485
-
Rafael Espindola authored
llvm-svn: 116484
-
Fariborz Jahanian authored
'super' as receiver of property or a setter/getter methods. //rdar: //8525788 llvm-svn: 116483
-
Johnny Chen authored
sending it a signal. llvm-svn: 116481
-
Oscar Fuentes authored
creates a cyclic dependency that breaks the build when BUILD_SHARED_LIBS=ON llvm-svn: 116480
-
Oscar Fuentes authored
PR 8375 llvm-svn: 116479
-
Anton Yartsev authored
llvm-svn: 116478
-
Mikhail Glushenkov authored
llvm-svn: 116476
-
Mikhail Glushenkov authored
Also includes some cosmetic changes. llvm-svn: 116475
-
Eric Christopher authored
GEP + alloca. llvm-svn: 116474
-
Zhongxing Xu authored
llvm-svn: 116473
-
John McCall authored
ObjCObjectType into Type. llvm-svn: 116472
-
Bill Wendling authored
here. The f32 in FCONSTS is handled as a double instead of a float in the code. So the encoding of the immediate into the instruction isn't exactly in line with the documentation in that regard. But given that we know it's handled as a double, it doesn't cause any harm. llvm-svn: 116471
-
John McCall authored
llvm-svn: 116470
-
John McCall authored
not a decl. llvm-svn: 116469
-
John McCall authored
llvm-svn: 116468
-