History log of /llvm-project/clang/lib/Frontend/InitPreprocessor.cpp (Results 426 – 450 of 493)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d281a714 10-Jan-2010 Daniel Dunbar <daniel@zuster.org>

Fix PR5982, a refacto in checking for '=' in a -D argument.

llvm-svn: 93088


# 2d6fda32 09-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com>

Use MacroBuilder for TargetDefines instead of std::vector.

llvm-svn: 93058


# 3f6323de 09-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com>

Move MacroBuilder into Frontend/Utils.h and clean it up a bit.

llvm-svn: 93057


# f65e9590 09-Jan-2010 Benjamin Kramer <benny.kra@googlemail.com>

Rework InitPreprocessor to use a MacroBuilder class instead of pushing around
std::vectors.

- MacroBuilder wraps a raw_ostream so it can easily write to any buffer
supported by raw_ostream.
- Macr

Rework InitPreprocessor to use a MacroBuilder class instead of pushing around
std::vectors.

- MacroBuilder wraps a raw_ostream so it can easily write to any buffer
supported by raw_ostream.
- MacroBuilder's method take Twines for easy string concatenation (this was done
with sprintf and temporary buffers before).
- Targets still use std::vector as they don't have access to the builder.

llvm-svn: 93051

show more ...


# e8ed5be8 09-Jan-2010 Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>

Switch UndefineBuiltinMacro() over to using StringRef

llvm-svn: 93049


# 2f14619d 09-Jan-2010 Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>

Switch DefineBuiltinMacro() over to using StringRef

llvm-svn: 93048


# 49c8da95 07-Jan-2010 Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>

Convert from char pointer to char array

llvm-svn: 92923


# b53c7d4d 07-Jan-2010 Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>

Tigthen scope of local char array

llvm-svn: 92917


# f0df20a5 04-Dec-2009 Steve Naroff <snaroff@apple.com>

Integrate the following from the 'objective-rewrite' branch:

http://llvm.org/viewvc/llvm-project?view=rev&revision=70926

llvm-svn: 90596


# 6dac935b 03-Dec-2009 Daniel Dunbar <daniel@zuster.org>

Fix two more diagnostic-on-stderr instances that thought they could hide from me -- they thought wrong.

llvm-svn: 90442


# 407e2124 02-Dec-2009 Douglas Gregor <dgregor@apple.com>

Extend -remap-file=from;to to permit mapping from a non-existent
file. This is accomplished by introducing the notion of a "virtual"
file into the file manager, which provides a FileEntry* for a name

Extend -remap-file=from;to to permit mapping from a non-existent
file. This is accomplished by introducing the notion of a "virtual"
file into the file manager, which provides a FileEntry* for a named
file whose size and modification time are known but which may not
exist on disk.

Added a cute little test that remaps both a .c file and a .h file it
includes to alternative files.

llvm-svn: 90329

show more ...


# 6ae34abd 02-Dec-2009 Douglas Gregor <dgregor@apple.com>

Move file-remapping logic into InitPreprocesor. No functionality change

llvm-svn: 90322


# f8a04a1d 01-Dec-2009 Rafael Espindola <rafael.espindola@gmail.com>

Exit the command line into <built-in> instead of going directly from the command line to the input file.

We passed <built-in> on the way in, so we should pass it again on the way out.

llvm-svn: 902

Exit the command line into <built-in> instead of going directly from the command line to the input file.

We passed <built-in> on the way in, so we should pass it again on the way out.

llvm-svn: 90250

show more ...


# adc8511b 22-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Define __SIG_ATOMIC_WIDTH__ for use in stdint.h.

llvm-svn: 89597


# 0138b9e1 19-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Define __WCHAR_WIDTH__ for use in stdint.h.

llvm-svn: 89353


# a1f677c3 19-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Add __WINT_WIDTH__ to paramaterize the limits of WINT_MIN and WINT_MAX in
stdint.h.

llvm-svn: 89348


# 57512865 19-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Add __SIZE_WIDTH__ to eventually replace __SIZE_TYPE__ in stdint.h.

llvm-svn: 89346


# 9b25f781 19-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Restore __INTMAX_TYPE__, __UINTMAX_TYPE__, __PTRDIFF_TYPE__, and
__INTPTR_TYPE__ as the last is used in the test/CodeGen/const-init.c and all
could potentially be in use in the wild. My apologies.

l

Restore __INTMAX_TYPE__, __UINTMAX_TYPE__, __PTRDIFF_TYPE__, and
__INTPTR_TYPE__ as the last is used in the test/CodeGen/const-init.c and all
could potentially be in use in the wild. My apologies.

llvm-svn: 89345

show more ...


# f982fc0b 19-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Remove __PTRDIFF_TYPE__ as it is no longer needed by stdint.h. It has been
replaced with __PTRDIFF_WIDTH__.

llvm-svn: 89344


# 056efe0f 19-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Add __PTRDIFF_WIDTH__ macro to eventually replace __PTRDIFF_TYPE__ in stdint.h.

llvm-svn: 89342


# cc11129f 19-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Remove __INTPTR_TYPE__ as it is no longer needed by stdint.h, which uses
__INTPTR_WIDTH__ instead.

llvm-svn: 89340


# 24cfcf15 18-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Predefine __INTPTR_WIDTH__ for future use in stdint.h.

llvm-svn: 89231


# fa01168a 18-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Remove the __INTMAX_TYPE__ and __UINTMAX_TYPE__ built-in macros as they are no
longer used by stdint.h.

llvm-svn: 89230


# c0c98291 18-Nov-2009 Ken Dyck <ken.dyck@onsemi.com>

Predefine __INTMAX_WIDTH__ for the future parameterization of INTMAX macros in
stdint.h.

llvm-svn: 89203


# d6ea9028 17-Nov-2009 Daniel Dunbar <daniel@zuster.org>

Simplify PreprocessorOptions, it doesn't need abstracted field access.

llvm-svn: 89047


1...<<11121314151617181920