https://bugs.llvm.org/show_bug.cgi?id=50461
Bug ID: 50461
Summary: clang doesn't chop newline in -U command line option
Product: clang
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: adobri...@gmail.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
neeil...@live.com, richard-l...@metafoo.co.uk
$ echo -n -e '_' | clang -xc -E "$(echo -n -e '-U_\n#include<stddef.h>')" -
The command above will open and preprocess include file.
gcc -D, gcc -U, clang -D delete everything after first newline.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs