Chris Lattner
|
13d555859c
|
Neil points out that this could be simplified, do it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90927 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-12-09 02:08:14 +00:00 |
Chris Lattner
|
807b93ee6a
|
fix -dM with variadic macros, PR5699
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90735 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-12-07 01:58:34 +00:00 |
Chris Lattner
|
f744934600
|
some code cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90732 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-12-07 01:42:56 +00:00 |
Steve Naroff
|
d76fbda5da
|
Integrate the following from the 'objective-rewrite' branch:
http://llvm.org/viewvc/llvm-project?view=rev&revision=71473
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90688 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-12-06 01:02:14 +00:00 |
Daniel Dunbar
|
29cf746aef
|
Add PreprocessorOutputOptions to CompilerInvocation, and move initialization to
clang-cc/Options.cpp
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86828 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-11-11 10:07:44 +00:00 |
Daniel Dunbar
|
775bee71ad
|
Add PreprocessorOutputOptions, for things like -dM, -C, -CC which control -E
mode.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86827 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-11-11 10:07:22 +00:00 |
Ted Kremenek
|
3e27c01eb4
|
Fix buffer overflow in PrintMacroDefinition() by inverting the check to see if the target buffer needs to be resized. Fixes <rdar://problem/7255377>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85872 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-11-03 06:18:05 +00:00 |
Daniel Dunbar
|
01eb9b9683
|
PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients
are updated.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84447 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-10-18 21:17:35 +00:00 |
Daniel Dunbar
|
5ffe14ca96
|
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84437 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-10-18 20:26:27 +00:00 |
Mike Stump
|
1eb4433ac4
|
Remove tabs, and whitespace cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81346 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-09-09 15:08:12 +00:00 |
Chris Lattner
|
ed2d7c4ffd
|
no really, add the lines :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73367 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-06-15 04:08:28 +00:00 |
Chris Lattner
|
3ee211fd15
|
Fix PR2741 by making our newline tracking be aware of newlines that
can occur in the middle of comment tokens.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73365 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-06-15 01:25:23 +00:00 |
Eli Friedman
|
3e753e279d
|
PR4288: Make -dD (dump macros with preprocessed source) play nicely with
# line directives.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72724 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-06-02 07:55:39 +00:00 |
Jay Foad
|
beaaccd8e2
|
Use v.data() instead of &v[0] when SmallVector v might be empty.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72210 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-05-21 09:52:38 +00:00 |
Eli Friedman
|
ac8d6298a8
|
Clean up some unnecessary includes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72101 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-05-19 04:30:57 +00:00 |
Eli Friedman
|
b09f6e15c5
|
Move clang-cc.h to lib/Frontend/Utils.h, and move the associated .cpp
files to lib/Frontend.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72099 91177308-0d34-0410-b5e6-96231b3b80d8
|
2009-05-19 04:14:29 +00:00 |