diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-18 21:00:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-18 21:00:25 +0000 |
commit | 2d17ab783b24df7e53bf3d02fe0deb70f63c14ab (patch) | |
tree | f8aff2b957f64819aa093eca74eec56cf26c8226 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 2534324a4e6b5137d7eb786f5c1b07215e1e650d (diff) | |
download | bcm5719-llvm-2d17ab783b24df7e53bf3d02fe0deb70f63c14ab.tar.gz bcm5719-llvm-2d17ab783b24df7e53bf3d02fe0deb70f63c14ab.zip |
when preprocessing a .S file, unknown directives should just be passed through,
and the token after the # should be expanded if it is not a valid directive.
This allows us to transform things like:
#define FOO BAR
# FOO
into # BAR, even though FOO is not normally expanded for directives.
This should fix PR3833
llvm-svn: 67236
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions