Ted Kremenek
|
66791d5dc5
|
Fix buffer overflow in PrintMacroDefinition() by inverting the check to see if the target buffer needs to be resized. Fixes <rdar://problem/7255377>.
llvm-svn: 85872
|
2009-11-03 06:18:05 +00:00 |
Daniel Dunbar
|
07d0785dbb
|
PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients
are updated.
llvm-svn: 84447
|
2009-10-18 21:17:35 +00:00 |
Daniel Dunbar
|
70e7eadd15
|
Move misc clients to IdentifierInfo StringRef API.
- strcmp -> ==
- OS.write(II->getName() ...) -> OS << II->getNameStr()
- Avoid std::string concatenation
- Use getNameStr().str() when an std::string is really needed.
llvm-svn: 84437
|
2009-10-18 20:26:27 +00:00 |
Mike Stump
|
11289f4280
|
Remove tabs, and whitespace cleanups.
llvm-svn: 81346
|
2009-09-09 15:08:12 +00:00 |
Chris Lattner
|
a5e67757dc
|
no really, add the lines :)
llvm-svn: 73367
|
2009-06-15 04:08:28 +00:00 |
Chris Lattner
|
f2d49da9a8
|
Fix PR2741 by making our newline tracking be aware of newlines that
can occur in the middle of comment tokens.
llvm-svn: 73365
|
2009-06-15 01:25:23 +00:00 |
Eli Friedman
|
fd80b2af16
|
PR4288: Make -dD (dump macros with preprocessed source) play nicely with
# line directives.
llvm-svn: 72724
|
2009-06-02 07:55:39 +00:00 |
Jay Foad
|
7d0479f2c2
|
Use v.data() instead of &v[0] when SmallVector v might be empty.
llvm-svn: 72210
|
2009-05-21 09:52:38 +00:00 |
Eli Friedman
|
cec35d7e6a
|
Clean up some unnecessary includes.
llvm-svn: 72101
|
2009-05-19 04:30:57 +00:00 |
Eli Friedman
|
16b7b6f511
|
Move clang-cc.h to lib/Frontend/Utils.h, and move the associated .cpp
files to lib/Frontend.
llvm-svn: 72099
|
2009-05-19 04:14:29 +00:00 |