diff options
| author | Robert Lytton <robert@xmos.com> | 2014-05-23 07:34:08 +0000 |
|---|---|---|
| committer | Robert Lytton <robert@xmos.com> | 2014-05-23 07:34:08 +0000 |
| commit | 57dd5cf441351531d26d7255a778430904c5288d (patch) | |
| tree | cadc8e8db6663f87366c0c32030e1029f41cbd7d /clang/lib/Basic/VirtualFileSystem.cpp | |
| parent | 683b7e087475ffb47312a48a75f5f0dc8e2ec560 (diff) | |
| download | llvm-57dd5cf441351531d26d7255a778430904c5288d.zip llvm-57dd5cf441351531d26d7255a778430904c5288d.tar.gz llvm-57dd5cf441351531d26d7255a778430904c5288d.tar.bz2 | |
Fix '-main-file-name <name>' so that it is used for the ModuleID.
Summary:
Previously, you could not specify the original file name when passing a preprocessed file into the compiler
Now you can use 'clang -Xclang -main-file-name -Xclang <original file name> ...'
Or 'clang -cc1 -main-file-name <original file name> ...'
llvm-svn: 209503
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions
