[all-commits] [llvm/llvm-project] 682d46: Revert "✨ [Sema, Lex, Parse] Preprocessor embed in...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Jun 12 13:14:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 682d461d5a231cee54d65910e6341769419a67d7
      https://github.com/llvm/llvm-project/commit/682d461d5a231cee54d65910e6341769419a67d7
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    M clang-tools-extra/test/pp-trace/pp-trace-macro.cpp
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/AST/RecursiveASTVisitor.h
    M clang/include/clang/AST/TextNodeDumper.h
    M clang/include/clang/Basic/DiagnosticCommonKinds.td
    M clang/include/clang/Basic/DiagnosticLexKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/FileManager.h
    M clang/include/clang/Basic/StmtNodes.td
    M clang/include/clang/Basic/TokenKinds.def
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Frontend/PreprocessorOutputOptions.h
    M clang/include/clang/Lex/PPCallbacks.h
    R clang/include/clang/Lex/PPDirectiveParameter.h
    R clang/include/clang/Lex/PPEmbedParameters.h
    M clang/include/clang/Lex/Preprocessor.h
    M clang/include/clang/Lex/PreprocessorOptions.h
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/ExprClassification.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/StmtPrinter.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/Basic/FileManager.cpp
    M clang/lib/Basic/IdentifierTable.cpp
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/DependencyFile.cpp
    M clang/lib/Frontend/DependencyGraph.cpp
    M clang/lib/Frontend/InitPreprocessor.cpp
    M clang/lib/Frontend/PrintPreprocessedOutput.cpp
    M clang/lib/Lex/PPDirectives.cpp
    M clang/lib/Lex/PPExpressions.cpp
    M clang/lib/Lex/PPMacroExpansion.cpp
    M clang/lib/Lex/TokenConcatenation.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/ParseInit.cpp
    M clang/lib/Parse/ParseTemplate.cpp
    M clang/lib/Sema/SemaExceptionSpec.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReaderStmt.cpp
    M clang/lib/Serialization/ASTWriterStmt.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    R clang/test/C/C2x/Inputs/bits.bin
    R clang/test/C/C2x/Inputs/boop.h
    R clang/test/C/C2x/Inputs/i.dat
    R clang/test/C/C2x/Inputs/jump.wav
    R clang/test/C/C2x/Inputs/s.dat
    R clang/test/C/C2x/n3017.c
    R clang/test/Preprocessor/Inputs/jk.txt
    R clang/test/Preprocessor/Inputs/media/art.txt
    R clang/test/Preprocessor/Inputs/media/empty
    R clang/test/Preprocessor/Inputs/null_byte.bin
    R clang/test/Preprocessor/Inputs/numbers.txt
    R clang/test/Preprocessor/Inputs/single_byte.txt
    R clang/test/Preprocessor/embed___has_embed.c
    R clang/test/Preprocessor/embed___has_embed_parsing_errors.c
    R clang/test/Preprocessor/embed___has_embed_supported.c
    R clang/test/Preprocessor/embed_art.c
    R clang/test/Preprocessor/embed_codegen.cpp
    R clang/test/Preprocessor/embed_constexpr.cpp
    R clang/test/Preprocessor/embed_dependencies.c
    R clang/test/Preprocessor/embed_ext_compat_diags.c
    R clang/test/Preprocessor/embed_feature_test.cpp
    R clang/test/Preprocessor/embed_file_not_found_chevron.c
    R clang/test/Preprocessor/embed_file_not_found_quote.c
    R clang/test/Preprocessor/embed_init.c
    R clang/test/Preprocessor/embed_parameter_if_empty.c
    R clang/test/Preprocessor/embed_parameter_limit.c
    R clang/test/Preprocessor/embed_parameter_offset.c
    R clang/test/Preprocessor/embed_parameter_prefix.c
    R clang/test/Preprocessor/embed_parameter_suffix.c
    R clang/test/Preprocessor/embed_parameter_unrecognized.c
    R clang/test/Preprocessor/embed_parsing_errors.c
    R clang/test/Preprocessor/embed_path_chevron.c
    R clang/test/Preprocessor/embed_path_quote.c
    R clang/test/Preprocessor/embed_preprocess_to_file.c
    R clang/test/Preprocessor/embed_single_entity.c
    R clang/test/Preprocessor/embed_weird.cpp
    M clang/test/Preprocessor/init-aarch64.c
    M clang/test/Preprocessor/init.c
    R clang/test/Preprocessor/single_byte.txt
    M clang/tools/libclang/CXCursor.cpp
    M clang/www/c_status.html

  Log Message:
  -----------
  Revert "✨ [Sema, Lex, Parse] Preprocessor embed in C and C++ (and Obj-C and Obj-C++ by-proxy)" (#95299)

Reverts llvm/llvm-project#68620

Introduce or expose a memory leak and UB, see llvm/llvm-project#68620



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list