llvm-project/clang/lib
Argyrios Kyrtzidis c8f7e213b9 Fix bug in SourceManager::getDecomposedInstantiationLocSlowCase.
It would add up relative (decomposed) offsets like in getDecomposedSpellingLocSlowCase, but while
it makes sense to preserve the offset among lexed spelling locations, it doesn't make
sense to add anything to the offset of the instantiation location. The instantiation
location will be the same regardless of the relative offset in the tokens that were
instantiated.

This bug didn't actually affect anything because, currently, in practice we never create macro
locations with relative offset greater than 0.

llvm-svn: 134586
2011-07-07 03:40:27 +00:00
..
ARCMigrate Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
AST Zap a couple unnecessary loops. 2011-07-07 01:54:01 +00:00
Analysis Build up statistics about the work done for analysis based warnings. 2011-07-06 16:21:37 +00:00
Basic Fix bug in SourceManager::getDecomposedInstantiationLocSlowCase. 2011-07-07 03:40:27 +00:00
CodeGen revert patch for // rdar://9227352 2011-07-06 21:05:11 +00:00
Driver Somehow the -fgnu-runtime option itself got lost in all that shuffling. 2011-07-06 02:36:30 +00:00
Frontend Keep track of when "unrecoverable" errors occur, then allow 2011-07-06 17:40:26 +00:00
FrontendTool [arcmt] Remove '-arcmt-modify-in-memory', it turned out less useful than we hoped it would be. 2011-06-17 23:49:31 +00:00
Headers Teach Clang's <float.h> to also include MinGW's <float.h>, which provides additional system definitions, from Ruben Van Boxem 2011-07-05 14:17:04 +00:00
Index Modify some deleted function methods to better reflect reality: 2011-05-06 20:44:56 +00:00
Lex Change the driver's logic about Objective-C runtimes: abstract out a 2011-07-06 00:26:06 +00:00
Parse Properly implement the scope restriction on the NRVO for 2011-07-06 22:04:06 +00:00
Rewrite Make more use of llvm::StringRef in various APIs. In particular, don't 2011-06-21 15:13:30 +00:00
Sema In an in-class initialization, defer checks for value-dependent initialization 2011-07-07 02:20:13 +00:00
Serialization Properly implement the scope restriction on the NRVO for 2011-07-06 22:04:06 +00:00
StaticAnalyzer Teach the static analyzer's interpretation of Cocoa conventions to 2011-07-06 16:00:34 +00:00
CMakeLists.txt The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00
Makefile The ARC Migration Tool. All the credit goes to Argyrios and Fariborz 2011-06-15 23:25:17 +00:00