https://bugs.llvm.org/show_bug.cgi?id=36446

            Bug ID: 36446
           Summary: Hidden /d1PP flag is ignored by clang-cl
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangb...@nondot.org
          Reporter: alexandre.ga...@ubisoft.com
                CC: llvm-bugs@lists.llvm.org

The hidden /d1PP flag is required by some buildsystems such as Fastbuild
(http://fastbuild.org/docs/home.html)

The purpose of this flag is to emit #defines in the preprocessed output, when
using /E. In the case of Fastbuild, this flag is needed to properly invalidate
Fastbuild's cache, if a PCH file changes only with different #defines.


The function TestPrecompiledHeaders::CacheUniqueness() in 
https://github.com/fastbuild/fastbuild/blob/master/Code/Tools/FBuild/FBuildTest/Tests/TestPrecompiledHeaders.cpp
illustrates the issue.

/d1PP shall translate to -dD (OPT_dD)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to