]> granicus.if.org Git - clang/commit
For DR712: store on a DeclRefExpr whether it constitutes an odr-use.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Jun 2019 17:50:32 +0000 (17:50 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 11 Jun 2019 17:50:32 +0000 (17:50 +0000)
commit3baecdc25147b80e37d07eb72d0e8beae72b601a
tree34603d0243973577c7d49c7191e744f58297e667
parent73c6ee869ee62bfdd05257dcf77c9c191f4a4068
For DR712: store on a DeclRefExpr whether it constitutes an odr-use.

Begin restructuring to support the forms of non-odr-use reference
permitted by DR712.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363086 91177308-0d34-0410-b5e6-96231b3b80d8
28 files changed:
include/clang/AST/Decl.h
include/clang/AST/Expr.h
include/clang/AST/Stmt.h
include/clang/Basic/Specifiers.h
include/clang/Sema/Sema.h
include/clang/Sema/SemaInternal.h
lib/AST/ASTImporter.cpp
lib/AST/Decl.cpp
lib/AST/Expr.cpp
lib/AST/JSONNodeDumper.cpp
lib/AST/TextNodeDumper.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/Sema/Sema.cpp
lib/Sema/SemaChecking.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterDecl.cpp
lib/Serialization/ASTWriterStmt.cpp
test/AST/ast-dump-color.cpp
test/AST/ast-dump-expr-json.c
test/AST/ast-dump-expr-json.cpp
test/AST/ast-dump-stmt-json.c
test/AST/ast-dump-stmt-json.cpp
test/PCH/cxx_exprs.cpp