llvm-project/clang/lib/Frontend
Zixu Wang 89a0c4066b [clang][diagnostics] Add '-Wundef-prefix' warning option
Summary:
Add an `-Wundef-prefix=<arg1>,<arg2>...` option, which is similar to `-Wundef`, but only give warnings for undefined macros with the given prefixes.

Reviewers: ributzka, steven_wu, cishida, bruno, arphaman, rsmith

Reviewed By: ributzka, arphaman

Subscribers: riccibruno, dexonsmith, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80751

This patch was authored by Zixu Wang <zixu_wang@apple.com>
2020-06-30 13:57:47 -07:00
..
Rewrite Reland D81869 "Modify FPFeatures to use delta not absolute settings" 2020-06-27 01:34:57 -07:00
ASTConsumers.cpp Add -ast-dump-decl-types flag to include types of value and type 2020-06-22 16:47:51 -07:00
ASTMerge.cpp [ASTImporter] Mark erroneous nodes in shared st 2019-07-01 15:37:07 +00:00
ASTUnit.cpp ASTUnit::FileDecls: Use unique_ptr to simplify memory management 2020-04-28 17:59:45 -07:00
CMakeLists.txt Move LangStandard*, InputKind::Language to Basic 2019-08-05 13:59:26 +00:00
ChainedDiagnosticConsumer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ChainedIncludesSource.cpp clang/Modules: Finish renaming CompilerInstance::ModuleManager, NFC. 2020-02-21 13:56:50 -08:00
CompilerInstance.cpp Rename IsMissingRequirement to IsUnimportable and set it for shadowed 2020-04-17 22:48:56 -07:00
CompilerInvocation.cpp [clang][diagnostics] Add '-Wundef-prefix' warning option 2020-06-30 13:57:47 -07:00
CreateInvocationFromCommandLine.cpp [MC] Pass down argv0 & cc1 cmd-line to the back-end and store in MCTargetOptions 2020-06-18 09:17:14 -04:00
DependencyFile.cpp clang-cl: Add a `/showIncludes:user` flag. 2020-02-25 09:43:52 -05:00
DependencyGraph.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
DiagnosticRenderer.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FrontendAction.cpp [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
FrontendActions.cpp Add -ast-dump-decl-types flag to include types of value and type 2020-06-22 16:47:51 -07:00
FrontendOptions.cpp Recognize *.hxx as a C++ header extension, like *.hpp. 2020-06-08 11:50:34 +02:00
FrontendTiming.cpp Fix file headers. NFC 2019-03-01 06:49:51 +00:00
HeaderIncludeGen.cpp clang-cl: Add a `/showIncludes:user` flag. 2020-02-25 09:43:52 -05:00
InitHeaderSearch.cpp [WebAssembly] Mangle the argc/argv `main` as `__wasm_argc_argv`. 2020-02-27 07:55:36 -08:00
InitPreprocessor.cpp [OpenMP] Upgrade default version of OpenMP to 5.0 2020-06-25 07:13:05 +00:00
InterfaceStubFunctionsConsumer.cpp [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
LayoutOverrideSource.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LogDiagnosticPrinter.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
ModuleDependencyCollector.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
MultiplexConsumer.cpp [AST] Add missing MultiplexConsumer::CompleteExternalDeclaration 2019-12-22 19:00:48 -08:00
PrecompiledPreamble.cpp Reland [clangd] Parse std::make_unique, and emit template diagnostics at expansion. 2020-06-12 16:18:26 +02:00
PrintPreprocessedOutput.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
SerializedDiagnosticPrinter.cpp Avoid including FileSystem.h from MemoryBuffer.h 2020-02-29 12:30:23 -08:00
SerializedDiagnosticReader.cpp Bitstream reader: Fix undefined behavior seen after rL364464 2019-07-05 20:22:40 +00:00
TestModuleFileExtension.cpp [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00
TestModuleFileExtension.h [Bitcode] Move Bitstream to a separate library 2019-07-03 22:40:07 +00:00
TextDiagnostic.cpp [clang] Fix the canonicalization of paths in -fdiagnostics-absolute-paths 2019-12-20 09:16:33 +01:00
TextDiagnosticBuffer.cpp Fix more implicit conversions. Getting closer to having clang working with gcc 5 again 2020-01-29 02:57:59 +01:00
TextDiagnosticPrinter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
VerifyDiagnosticConsumer.cpp [clang][VerifyDiagnosticConsumer] Support filename wildcards 2020-05-14 15:15:49 -07:00